aboutsummaryrefslogtreecommitdiff
path: root/posix/unistd.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-01-14 09:14:12 -0800
committerUlrich Drepper <drepper@redhat.com>2010-01-14 09:14:12 -0800
commitb1a664426773dc7f80886f99962ee8f9b36d2c0f (patch)
treed8bd0fc7860010659f47a21b691b18c035912867 /posix/unistd.h
parentf69190e74a081f0a35906ff0b9a8dc24e42341e8 (diff)
downloadglibc-b1a664426773dc7f80886f99962ee8f9b36d2c0f.tar
glibc-b1a664426773dc7f80886f99962ee8f9b36d2c0f.tar.gz
glibc-b1a664426773dc7f80886f99962ee8f9b36d2c0f.tar.bz2
glibc-b1a664426773dc7f80886f99962ee8f9b36d2c0f.zip
Declare getpagesize in _GNU_SOURCE mode again.
Diffstat (limited to 'posix/unistd.h')
-rw-r--r--posix/unistd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/unistd.h b/posix/unistd.h
index d8697553a7..611ddf02d1 100644
--- a/posix/unistd.h
+++ b/posix/unistd.h
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991-2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 1991-2009, 2010 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
@@ -986,7 +986,7 @@ extern long int gethostid (void);
extern void sync (void) __THROW;
-# ifndef __USE_XOPEN2K
+# if defined __USE_GNU || !defined __USE_XOPEN2K
/* Return the number of bytes in a page. This is the system's page size,
which is not necessarily the same as the hardware page size. */
extern int getpagesize (void) __THROW __attribute__ ((__const__));