summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/cmsg_nxthdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/cmsg_nxthdr.c')
-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) */