summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen2001-03-14 01:36:52 +0000
committerEric Andersen2001-03-14 01:36:52 +0000
commit2b1c367a985849a7dde5c9f1cef1db8f6cf951bd (patch)
tree431160b939c5bbcc21d486073bbce51c7becc400 /include
parent3c0b425cdee0883b0f5202b43e7d13845e7e1c79 (diff)
downloadbusybox-2b1c367a985849a7dde5c9f1cef1db8f6cf951bd.zip
busybox-2b1c367a985849a7dde5c9f1cef1db8f6cf951bd.tar.gz
Amazing the difference between an "and" and an "or".
Diffstat (limited to 'include')
-rw-r--r--include/busybox.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/busybox.h b/include/busybox.h
index 977fe33..194fd82 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -35,9 +35,10 @@
#include "dmalloc.h"
#endif
+#include <features.h>
/* Stupid libc doesn't have a reliable way for use to know
* that libc5 is being used. Assume this is good enough */
-#if ! defined __GLIBC__ || ! defined __UCLIBC__
+#if ! defined __GLIBC__ && ! defined __UCLIBC__
/* libc5 doesn't define socklen_t */
typedef unsigned int socklen_t;
#endif