Bug 1389078 - Remove (unneeded) usage of internal libc header. r=jld, a=gchang
authorGian-Carlo Pascutto <gcp@mozilla.com>
Thu, 10 Aug 2017 16:55:01 +0200
changeset 421273 9e27747354e0c803482fb55f66beb448f3c19062
parent 421272 9b28ea0fe4e5cf75867ece02ca120fb5f6e5e92f
child 421274 f233560347548f022964499bf241668fb4abc4a1
push id7644
push userryanvm@gmail.com
push dateMon, 21 Aug 2017 16:46:00 +0000
treeherdermozilla-beta@f23356034754 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjld, gchang
bugs1389078
milestone56.0
Bug 1389078 - Remove (unneeded) usage of internal libc header. r=jld, a=gchang MozReview-Commit-ID: E7oppAtGRfD
security/sandbox/linux/broker/SandboxBrokerRealpath.cpp
--- a/security/sandbox/linux/broker/SandboxBrokerRealpath.cpp
+++ b/security/sandbox/linux/broker/SandboxBrokerRealpath.cpp
@@ -30,18 +30,16 @@
  * This is originally from:
  * android-n-mr2-preview-1-303-gccec0f4c1
  * libc/upstream-freebsd/lib/libc/stdlib/realpath.c
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)realpath.c	8.1 (Berkeley) 2/16/94";
 #endif /* LIBC_SCCS and not lint */
-#include <sys/cdefs.h>
-
 #include <sys/param.h>
 #include <sys/stat.h>
 
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>