aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/shmget.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/shmget.c')
-rw-r--r--sysdeps/unix/sysv/linux/shmget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/shmget.c b/sysdeps/unix/sysv/linux/shmget.c
index 71de81c365..6ea788351b 100644
--- a/sysdeps/unix/sysv/linux/shmget.c
+++ b/sysdeps/unix/sysv/linux/shmget.c
@@ -16,9 +16,10 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
+#include <sys/msg.h>
+#include <stddef.h>
#include <ipc_priv.h>
#include <sysdep.h>
-#include <errno.h>
/* Return an identifier for an shared memory segment of at least size SIZE
which is associated with KEY. */