about summary refs log tree commit diff
path: root/configure.ac
diff options
context:
space:
mode:
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d1c5f45fb..27a17e276 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1015,6 +1015,7 @@ AC_CHECK_MEMBERS([struct stat.st_atim.tv_nsec,
 
 dnl Check for struct timezone since some old SCO versions do not define it
 zsh_TYPE_EXISTS([
+#define _GNU_SOURCE 1
 #ifdef HAVE_SYS_TIME_H
 # include <sys/time.h>
 #endif