diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-01-11 17:01:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-01-11 17:01:53 +0000 |
commit | 01b8318aeede4dcf44ec0fc87535110c6e3c12a2 (patch) | |
tree | 1c2a6487dd640986259e365823eac57a7f713931 | |
parent | c243c796177ca2cd595f4ab394d4f4911812027d (diff) |
dont bother including sysctl.h unless we need it
-rw-r--r-- | libc/sysdeps/linux/common/ssp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libc/sysdeps/linux/common/ssp.c b/libc/sysdeps/linux/common/ssp.c index d12a7859c..72d8dea2e 100644 --- a/libc/sysdeps/linux/common/ssp.c +++ b/libc/sysdeps/linux/common/ssp.c @@ -1,6 +1,6 @@ /* * Distributed under the terms of the GNU General Public License v2 - * $Header: /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c,v 1.5 2004/11/25 19:10:39 solar Exp $ + * $Header: /var/cvs/uClibc/libc/sysdeps/linux/common/ssp.c,v 1.6 2005/01/11 17:01:53 vapier Exp $ * * This is a modified version of Hiroaki Etoh's stack smashing routines * implemented for glibc. @@ -29,7 +29,9 @@ #include <sys/un.h> #include <sys/syslog.h> #include <sys/time.h> +#ifdef HAVE_DEV_ERANDOM #include <sys/sysctl.h> +#endif #ifdef __PROPOLICE_BLOCK_SEGV__ #define SSP_SIGTYPE SIGSEGV |