about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-05-09 16:50:03 +0000
committerRoland McGrath <roland@gnu.org>1996-05-09 16:50:03 +0000
commit8942a07afcba648c1766c8e94df65b92a555fdb3 (patch)
treeec7a302869597c675104248a8427cd3520c02fd9 /sysdeps/unix
parent557072655748be14a747242135f1b34eff9f735f (diff)
downloadglibc-8942a07afcba648c1766c8e94df65b92a555fdb3.tar.gz
glibc-8942a07afcba648c1766c8e94df65b92a555fdb3.tar.xz
glibc-8942a07afcba648c1766c8e94df65b92a555fdb3.zip
* sysdeps/unix/sysv/linux/net/if.h: New file.
	* sysdeps/unix/sysv/linux/Dist: Add it.
	* sysdeps/unix/sysv/linux/Makefile [$(subdir)=socket] (headers): Add
	net/if.h.

	* Makeconfig (link-libc): Add libc.a after libc.so in link.

	* Rules (static-only-routines rule): Use empty.o instead of dummy.o.
	(empty.o): New target.
	(generated): Add empty.c, empty.o.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/Dist1
-rw-r--r--sysdeps/unix/sysv/linux/Makefile2
-rw-r--r--sysdeps/unix/sysv/linux/net/if.h1
3 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/Dist b/sysdeps/unix/sysv/linux/Dist
index b741cdcc3b..526e1292fb 100644
--- a/sysdeps/unix/sysv/linux/Dist
+++ b/sysdeps/unix/sysv/linux/Dist
@@ -1,3 +1,4 @@
+net/if.h
 sys/acct.h
 sys/quota.h
 sys/socketcall.h
diff --git a/sysdeps/unix/sysv/linux/Makefile b/sysdeps/unix/sysv/linux/Makefile
index 53837ab53f..c3bdd1b4c9 100644
--- a/sysdeps/unix/sysv/linux/Makefile
+++ b/sysdeps/unix/sysv/linux/Makefile
@@ -26,7 +26,7 @@ headers += sys/timex.h
 endif
 
 ifeq ($(subdir), socket)
-headers += sys/socketcall.h
+headers += sys/socketcall.h net/if.h
 endif
 
 ifeq ($(subdir), sunrpc)
diff --git a/sysdeps/unix/sysv/linux/net/if.h b/sysdeps/unix/sysv/linux/net/if.h
new file mode 100644
index 0000000000..1aa8e7b90c
--- /dev/null
+++ b/sysdeps/unix/sysv/linux/net/if.h
@@ -0,0 +1 @@
+#include <linux/if.h>