From 3a8607d65c091232d0fa138cafe568c8b2dab328 Mon Sep 17 00:00:00 2001 From: henri Date: Tue, 6 Aug 2013 19:39:39 +0000 Subject: [PATCH] Restore headers in nsock error.h These includes seem useless and nsock and nmap happily compile w/o them but the nsock test suite doesn't. Temporarily restore them to their pre-r36100 state until I can clean and streamline the inclusion tree. --- nsock/src/error.h | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/nsock/src/error.h b/nsock/src/error.h index a8028764a..d74b97598 100644 --- a/nsock/src/error.h +++ b/nsock/src/error.h @@ -59,7 +59,22 @@ #ifndef ERROR_H #define ERROR_H -#include "nbase.h" +#ifdef HAVE_CONFIG_H +#include "nsock_config.h" +#include "nbase_config.h" +#endif + +#ifdef WIN32 +#include "nbase_winconfig.h" +#endif + +#include +#include +#include +#if HAVE_UNISTD_H +#include +#endif + void fatal(char *fmt, ...) __attribute__ ((noreturn))