summaryrefslogtreecommitdiff
path: root/sysvipc/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys')
-rw-r--r--sysvipc/sys/ipc.h4
-rw-r--r--sysvipc/sys/msg.h2
-rw-r--r--sysvipc/sys/sem.h6
-rw-r--r--sysvipc/sys/shm.h6
4 files changed, 9 insertions, 9 deletions
diff --git a/sysvipc/sys/ipc.h b/sysvipc/sys/ipc.h
index 4386d676d4..c36dd79b33 100644
--- a/sysvipc/sys/ipc.h
+++ b/sysvipc/sys/ipc.h
@@ -18,12 +18,12 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_IPC_H
-
#define _SYS_IPC_H 1
+
#include <sys/cdefs.h>
/* Get system dependent definition of `struct ipc_perm' and more. */
-#include <sys/ipc_buf.h>
+#include <bits/ipc.h>
#if !defined __USE_SVID && !defined __USE_XOPEN && __GNUC__ >= 2
# warning "Files using this header must be compiled with _SVID_SOURCE or _XOPEN_SOURCE"
diff --git a/sysvipc/sys/msg.h b/sysvipc/sys/msg.h
index b90f05165b..b6fe7a77cf 100644
--- a/sysvipc/sys/msg.h
+++ b/sysvipc/sys/msg.h
@@ -27,7 +27,7 @@
#include <sys/ipc.h>
/* Get system dependent definition of `struct msqid_ds' and more. */
-#include <sys/msq_buf.h>
+#include <bits/msq.h>
__BEGIN_DECLS
diff --git a/sysvipc/sys/sem.h b/sysvipc/sys/sem.h
index 2c26e24672..84bcc5a0fc 100644
--- a/sysvipc/sys/sem.h
+++ b/sysvipc/sys/sem.h
@@ -18,8 +18,8 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_SEM_H
-
#define _SYS_SEM_H 1
+
#include <features.h>
#include <sys/types.h>
@@ -28,7 +28,7 @@
#include <sys/ipc.h>
/* Get system dependent definition of `struct semid_ds' and more. */
-#include <sys/sem_buf.h>
+#include <bits/sem.h>
__BEGIN_DECLS
@@ -57,4 +57,4 @@ extern int semop __P ((int __semid, struct sembuf *__sops,
__END_DECLS
-#endif /* _SYS_SEM_H */
+#endif /* sys/sem.h */
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h
index 2a1e7c664d..56883b787b 100644
--- a/sysvipc/sys/shm.h
+++ b/sysvipc/sys/shm.h
@@ -18,8 +18,8 @@
Boston, MA 02111-1307, USA. */
#ifndef _SYS_SHM_H
-
#define _SYS_SHM_H 1
+
#include <features.h>
#include <unistd.h> /* for `getpagesize' declaration */
@@ -29,7 +29,7 @@
#include <sys/ipc.h>
/* Get system dependent definition of `struct shmid_ds' and more. */
-#include <sys/shm_buf.h>
+#include <bits/shm.h>
/* Segment low boundary address multiple. */
@@ -54,4 +54,4 @@ extern int shmdt __P ((__const void *__shmaddr));
__END_DECLS
-#endif /* _SYS_SHM_H */
+#endif /* sys/shm.h */