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))