summaryrefslogtreecommitdiff
path: root/m4/mktime.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-11-15 19:43:06 +0000
committerJim Meyering <jim@meyering.net>1997-11-15 19:43:06 +0000
commitfec95720138142ca09f342ca4ee0976aba3b173a (patch)
tree2175f808c1e8f2f59325ff73cfa3041483261995 /m4/mktime.m4
parent1076c92f8de95263d26527b51a47fa62359e145c (diff)
downloadcoreutils-fec95720138142ca09f342ca4ee0976aba3b173a.tar.xz
include unistd.h
Diffstat (limited to 'm4/mktime.m4')
-rw-r--r--m4/mktime.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4
index c82183024..45d899af4 100644
--- a/m4/mktime.m4
+++ b/m4/mktime.m4
@@ -26,6 +26,10 @@ changequote(<<, >>)dnl
# endif
#endif
+#if HAVE_UNISTD_H
+# include <unistd.h>
+#endif
+
#if !HAVE_ALARM
# define alarm(X) /* empty */
#endif