summary refs log tree commit diff
path: root/sysdeps/gnu/bits
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/gnu/bits')
-rw-r--r--sysdeps/gnu/bits/msq.h3
-rw-r--r--sysdeps/gnu/bits/shm.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/gnu/bits/msq.h b/sysdeps/gnu/bits/msq.h
index f376336d92..5ca58ba397 100644
--- a/sysdeps/gnu/bits/msq.h
+++ b/sysdeps/gnu/bits/msq.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 2000, 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
@@ -21,6 +21,7 @@
 #endif
 
 #include <bits/types.h>
+#include <bits/ipctypes.h>
 
 /* Define options for message queue functions.  */
 #define MSG_NOERROR	010000	/* no error if message is too big */
diff --git a/sysdeps/gnu/bits/shm.h b/sysdeps/gnu/bits/shm.h
index 8791e7e9f2..2c41833d37 100644
--- a/sysdeps/gnu/bits/shm.h
+++ b/sysdeps/gnu/bits/shm.h
@@ -21,6 +21,7 @@
 #endif
 
 #include <bits/types.h>
+#include <bits/ipctypes.h>
 
 /* Permission flag for shmget.  */
 #define SHM_R		0400		/* or S_IRUGO from <linux/stat.h> */