about summary refs log tree commit diff
path: root/sysvipc
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc')
-rw-r--r--sysvipc/Makefile4
-rw-r--r--sysvipc/sys/ipc.h3
2 files changed, 4 insertions, 3 deletions
diff --git a/sysvipc/Makefile b/sysvipc/Makefile
index a0b63aed56..0e4c105c3d 100644
--- a/sysvipc/Makefile
+++ b/sysvipc/Makefile
@@ -1,4 +1,4 @@
-# Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1995, 1996, 1997, 2002 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
@@ -22,7 +22,7 @@
 subdir	:= sysvipc
 
 headers	:= sys/ipc.h sys/msg.h sys/sem.h sys/shm.h \
-	   bits/ipc.h bits/msq.h bits/sem.h bits/shm.h
+	   bits/ipctypes.h bits/ipc.h bits/msq.h bits/sem.h bits/shm.h
 
 routines := ftok \
 	    msgsnd msgrcv msgget msgctl \
diff --git a/sysvipc/sys/ipc.h b/sysvipc/sys/ipc.h
index 42806db2b2..158c09eb6d 100644
--- a/sysvipc/sys/ipc.h
+++ b/sysvipc/sys/ipc.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1995,1996,1997,1999,2002 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
@@ -26,6 +26,7 @@
 #endif
 
 /* Get system dependent definition of `struct ipc_perm' and more.  */
+#include <bits/ipctypes.h>
 #include <bits/ipc.h>
 
 #ifndef __uid_t_defined