@echo "#include <limits.h>" >> eet_amalgamation.c
@echo "#include <sys/types.h>" >> eet_amalgamation.c
@echo "#include <sys/stat.h>" >> eet_amalgamation.c
- @echo "#include <sys/mman.h>" >> eet_amalgamation.c
+ @echo "#ifdef HAVE_SIGNATURE" >> eet_amalgamation.c
+ @echo "# include <sys/mman.h>" >> eet_amalgamation.c
+ @echo "#endif" >> eet_amalgamation.c
@echo "#include <setjmp.h>" >> eet_amalgamation.c
@echo "#include <errno.h>" >> eet_amalgamation.c
@echo "#include <time.h>" >> eet_amalgamation.c
#include <string.h>
#include <sys/types.h>
#include <sys/stat.h>
-#include <sys/mman.h>
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif /* ifdef HAVE_NETINET_IN_H */
#ifdef HAVE_SIGNATURE
+# include <sys/mman.h>
# ifdef HAVE_GNUTLS
# include <gnutls/gnutls.h>
# include <gnutls/x509.h>