aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-01-21 14:52:39 +0000
committerUlrich Drepper <drepper@redhat.com>1999-01-21 14:52:39 +0000
commitd1462d2e3f8a48eca8018e78b5f250db7cde458d (patch)
treedcef44cad65e653c5cd99372c1c8937175d8e0c2 /posix
parentc71183402c321cee4486e5d24ef1f82e9dbb111a (diff)
downloadglibc-d1462d2e3f8a48eca8018e78b5f250db7cde458d.zip
glibc-d1462d2e3f8a48eca8018e78b5f250db7cde458d.tar.gz
glibc-d1462d2e3f8a48eca8018e78b5f250db7cde458d.tar.bz2
Update.
* sysdeps/unix/sysv/linux/sys/sysmacros.h: Pretty print. * sysdeps/unix/sysv/linux/Dist: Remove sys/sysmacros.h. * sysdeps/unix/sysv/linux/Makefile: Remove sys/sysmacros.h. * posix/Makefile (headers): Add sys/sysmacros.h. * posix/sys/types.h: Include sys/sysmacros.h for __USE_BSD. * sysdeps/generic/sys/sysmacros.h: New file. * sysdeps/mach/hurd/xmknod.c: Include sys/types.h and remove minor and major definition.
Diffstat (limited to 'posix')
-rw-r--r--posix/Makefile3
-rw-r--r--posix/sys/types.h5
2 files changed, 6 insertions, 2 deletions
diff --git a/posix/Makefile b/posix/Makefile
index b39abcd..7f1ff7b 100644
--- a/posix/Makefile
+++ b/posix/Makefile
@@ -26,7 +26,8 @@ headers := sys/utsname.h sys/times.h sys/wait.h sys/types.h unistd.h \
bits/posix1_lim.h bits/posix2_lim.h bits/posix_opt.h \
bits/local_lim.h tar.h bits/utsname.h bits/confname.h \
bits/waitflags.h bits/waitstatus.h sys/unistd.h sched.h \
- bits/sched.h re_comp.h wait.h bits/environments.h cpio.h
+ bits/sched.h re_comp.h wait.h bits/environments.h cpio.h \
+ sys/sysmacros.h
distribute := confstr.h TESTS TESTS2C.sed testcases.h \
PTESTS PTESTS2C.sed ptestcases.h \
diff --git a/posix/sys/types.h b/posix/sys/types.h
index b0246a2..3966a38 100644
--- a/posix/sys/types.h
+++ b/posix/sys/types.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 94, 95, 96, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,94,95,96,97,98,99 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -191,6 +191,9 @@ typedef int register_t __attribute__ ((__mode__ (__word__)));
/* It also defines `fd_set' and the FD_* macros for `select'. */
# include <sys/select.h>
+
+/* BSD defines these symbols, so we follow. */
+# include <sys/sysmacros.h>
#endif /* Use BSD. */