From 363b89d1f130126a3b398ef5151466a2cbad1511 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Sat, 31 Jan 2004 18:03:05 +0100
Subject: [PATCH] (AX_CREATE_STDINT_H): Also look for uint32_t and friends in
 sys/types.h.

Rev: src/nettle/configure.ac:1.28
---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 80a188a0..4bd15fcf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,7 +132,9 @@ AC_REPLACE_FUNCS(memxor)
 
 LSH_GCC_ATTRIBUTES
 
-AX_CREATE_STDINT_H([nettle-types.h])
+# According to Simon Josefsson, looking for uint32_t and friends in
+# sys/types.h is needed on some systems, in particular cygwin.
+AX_CREATE_STDINT_H([nettle-types.h], [sys/types.h])
 
 # Checks for libraries
 AC_CHECK_LIB(gmp, __gmpz_getlimbn,,
-- 
GitLab