about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux')
-rw-r--r--sysdeps/unix/sysv/linux/netinet/in.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/netinet/in.h b/sysdeps/unix/sysv/linux/netinet/in.h
index 86d1274a0c..91c88835db 100644
--- a/sysdeps/unix/sysv/linux/netinet/in.h
+++ b/sysdeps/unix/sysv/linux/netinet/in.h
@@ -22,7 +22,10 @@
 #include <features.h>
 
 #include <sys/socket.h>
+
+__BEGIN_DECLS
 #include <linux/in.h>
+__END_DECLS
 
 /* Standard well-known ports.  The use of these constants is
    deprecated.  Instead use the contents of the file `/etc/services'