]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add more magic to work better with kernel headers.
authorUlrich Drepper <drepper@redhat.com>
Wed, 12 Aug 1998 12:31:09 +0000 (12:31 +0000)
committerUlrich Drepper <drepper@redhat.com>
Wed, 12 Aug 1998 12:31:09 +0000 (12:31 +0000)
sysdeps/unix/sysv/linux/socketbits.h

index 1813bdecf898a0e3712f08ff6538fdfc618c3fa4..1864b14d39e76fd2b452980b5b5626585b62e3e2 100644 (file)
@@ -222,10 +222,12 @@ enum
 /* Get socket manipulation related informations from kernel headers.  */
 #ifndef _LINUX_TYPES_H
 # define _LINUX_TYPES_H
+# include <asm/socket.h>
+# undef _LINUX_TYPES_H
+#else
+# include <asm/socket.h>
 #endif
 
-#include <asm/socket.h>
-
 
 /* Structure used to manipulate the SO_LINGER option.  */
 struct linger