about summary refs log tree commit diff
path: root/sysdeps/generic/bits/shm.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/bits/shm.h')
-rw-r--r--sysdeps/generic/bits/shm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/generic/bits/shm.h b/sysdeps/generic/bits/shm.h
index 2fbf67154e..44a18d6c3a 100644
--- a/sysdeps/generic/bits/shm.h
+++ b/sysdeps/generic/bits/shm.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
@@ -31,6 +31,10 @@
 #define SHM_LOCK	11		/* lock segment (root only) */
 #define SHM_UNLOCK	12		/* unlock segment (root only) */
 
+/* Segment low boundary address multiple.  */
+#define SHMLBA		(__getpagesize ())
+extern int __getpagesize (void) __THROW __attribute__ ((__const__));
+
 
 /* Type to count number of attaches.  */
 typedef unsigned short int shmatt_t;