summaryrefslogtreecommitdiff
path: root/lib/getpagesize.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 08:41:46 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 08:41:46 +0000
commit410f98fc2b9bd775f809818590959272c04e6c9c (patch)
treefeb6e26fa2cd60d76f8bcab1483f27bc792f2c29 /lib/getpagesize.h
parentb5dabfee20afd9a18d32c569b69ce9024e0a6268 (diff)
downloadcoreutils-410f98fc2b9bd775f809818590959272c04e6c9c.tar.xz
Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally.
Diffstat (limited to 'lib/getpagesize.h')
-rw-r--r--lib/getpagesize.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/getpagesize.h b/lib/getpagesize.h
index 17f070f63..5cce3c908 100644
--- a/lib/getpagesize.h
+++ b/lib/getpagesize.h
@@ -1,5 +1,5 @@
/* Emulate getpagesize on systems that lack it.
- Copyright (C) 1999, 2000, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000, 2004, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -18,9 +18,7 @@
#ifndef HAVE_GETPAGESIZE
-#ifdef HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if !defined getpagesize && defined _SC_PAGESIZE
# if !(defined VMS && __VMS_VER < 70000000)