summaryrefslogtreecommitdiff
path: root/m4/mktime.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-07-02 08:54:13 +0000
committerJim Meyering <jim@meyering.net>2005-07-02 08:54:13 +0000
commit2f79e30906e2d729a48b295521cba4ed5d6067dc (patch)
treed7ae7075ab1f0d1d25612639e8ad6e7dde8e895c /m4/mktime.m4
parent16b35530835c07693104567de6d2a03f7bee2b33 (diff)
downloadcoreutils-2f79e30906e2d729a48b295521cba4ed5d6067dc.tar.xz
Assume HAVE_UNISTD_H, i.e., that <unistd.h> works.
Diffstat (limited to 'm4/mktime.m4')
-rw-r--r--m4/mktime.m48
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/mktime.m4 b/m4/mktime.m4
index 25ca6dc46..554ad25c9 100644
--- a/m4/mktime.m4
+++ b/m4/mktime.m4
@@ -1,5 +1,5 @@
-# mktime.m4 serial 5
-dnl Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+#serial 6
+dnl Copyright (C) 2002, 2003, 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -34,9 +34,7 @@ AC_CACHE_CHECK([for working mktime], ac_cv_func_working_mktime,
# include <stdlib.h>
#endif
-#if HAVE_UNISTD_H
-# include <unistd.h>
-#endif
+#include <unistd.h>
#if !HAVE_ALARM
# define alarm(X) /* empty */