summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 9abb270f..4d41ba03 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -527,6 +527,7 @@ AC_DEFUN(GROFF_MKSTEMP,
AC_LANG_PUSH(C++)
AC_LIBSOURCE(mkstemp.cc)
AC_TRY_LINK([#include <stdlib.h>
+#include <unistd.h>
int (*f) (char *);],
[f = mkstemp;],
AC_MSG_RESULT(yes);AC_DEFINE(HAVE_MKSTEMP, 1,