summaryrefslogtreecommitdiff
path: root/sysvipc/sys/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysvipc/sys/shm.h')
-rw-r--r--sysvipc/sys/shm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysvipc/sys/shm.h b/sysvipc/sys/shm.h
index 4f30ad8f92..8622f82dca 100644
--- a/sysvipc/sys/shm.h
+++ b/sysvipc/sys/shm.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1995-1999, 2000 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
@@ -30,6 +30,10 @@
/* Get system dependent definition of `struct shmid_ds' and more. */
#include <bits/shm.h>
+/* Define types required by the standard. */
+#define __need_time_t
+#include <time.h>
+
/* Segment low boundary address multiple. */
#define SHMLBA (__getpagesize ())