summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-12-13 01:53:28 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-12-13 01:53:28 +0000
commit0f55c533b6a420ceba46cfe8178880d50b639535 (patch)
treef7db1d44c1048657ffac61cdba0c08ec835e63e6 /libc
parentabb77f08cc8f6b0d1c9961704e74a2e52d8d838b (diff)
*: document __USE_EXTERN_INLINES better;
fix uclibc build if it is forcibly enabled
Diffstat (limited to 'libc')
-rw-r--r--libc/sysdeps/linux/common/cmsg_nxthdr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/cmsg_nxthdr.c b/libc/sysdeps/linux/common/cmsg_nxthdr.c
index 7dbf7bec5..5230fc6be 100644
--- a/libc/sysdeps/linux/common/cmsg_nxthdr.c
+++ b/libc/sysdeps/linux/common/cmsg_nxthdr.c
@@ -19,6 +19,8 @@
#define __FORCE_GLIBC
#include <features.h>
+/* Prevent math.h from defining a colliding inline */
+#undef __USE_EXTERN_INLINES
#include <sys/socket.h>
/* libc_hidden_proto(__cmsg_nxthdr) */