about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/gnu/Dist3
-rw-r--r--sysdeps/gnu/Makefile5
-rw-r--r--sysdeps/unix/sysv/linux/Dist3
-rw-r--r--sysdeps/unix/sysv/linux/Makefile5
4 files changed, 10 insertions, 6 deletions
diff --git a/sysdeps/gnu/Dist b/sysdeps/gnu/Dist
index d20d528d03..afbfd721e0 100644
--- a/sysdeps/gnu/Dist
+++ b/sysdeps/gnu/Dist
@@ -1,3 +1,6 @@
 errlist.awk
 utmpx.h
 bits/utmpx.h
+netinet/tcp.h
+netinet/udp.h
+netinet/ip_icmp.h
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile
index 77f0b230fd..48932c3c8a 100644
--- a/sysdeps/gnu/Makefile
+++ b/sysdeps/gnu/Makefile
@@ -35,3 +35,8 @@ sysdep_routines += setutxent getutxent endutxent getutxid getutxline \
 
 sysdep_headers += utmpx.h bits/utmpx.h
 endif
+
+
+ifeq ($(subdir),inet)
+sysdep_headers += netinet/udp.h netinet/ip_icmp.h
+endif
diff --git a/sysdeps/unix/sysv/linux/Dist b/sysdeps/unix/sysv/linux/Dist
index e10e24a678..e96ef14c92 100644
--- a/sysdeps/unix/sysv/linux/Dist
+++ b/sysdeps/unix/sysv/linux/Dist
@@ -33,10 +33,7 @@ netinet/if_tr.h
 netinet/igmp.h
 netinet/in_systm.h
 netinet/ip_fw.h
-netinet/ip_icmp.h
 netpacket/packet.h
-netinet/tcp.h
-netinet/udp.h
 netipx/ipx.h
 netrom/netrom.h
 netrose/rose.h
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index dd8db415b3..13b1c1f251 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -80,10 +80,9 @@ sysdep_headers += bits/pthreadtypes.h
 endif
 
 ifeq ($(subdir),inet)
-sysdep_headers += netinet/in_systm.h netinet/udp.h \
+sysdep_headers += sys/socketvar.h netinet/in_systm.h netinet/ip_fw.h \
 		  netinet/if_fddi.h netinet/if_tr.h netinet/igmp.h \
-		  netinet/ip_fw.h  netinet/ip_icmp.h netipx/ipx.h \
-		  sys/socketvar.h netash/ash.h netax25/ax25.h netatalk/at.h \
+		  netipx/ipx.h netash/ash.h netax25/ax25.h netatalk/at.h \
 		  netrom/netrom.h netpacket/packet.h netrose/rose.h
 endif