aboutsummaryrefslogtreecommitdiffstats
path: root/src/regex.c
diff options
context:
space:
mode:
authorPaul Eggert <[email protected]>2011-01-09 00:12:35 -0800
committerPaul Eggert <[email protected]>2011-01-09 00:12:35 -0800
commit4004364e6777a1ed2c3e2c0fdf9fed871b186ac3 (patch)
tree44d96204ce5ebd144662234e6185d542838be9d1 /src/regex.c
parent613f7bda1d003048ad79e7c4bba744e5057d609e (diff)
Include <unistd.h> unilaterally.
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/regex.c b/src/regex.c
index 31f188efa9..4c54a2f863 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -196,9 +196,7 @@
even if config.h says that we can. */
# undef REL_ALLOC
-# ifdef HAVE_UNISTD_H
-# include <unistd.h>
-# endif
+# include <unistd.h>
/* When used in Emacs's lib-src, we need xmalloc and xrealloc. */