1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-01 11:09:07 +00:00

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.
This commit is contained in:
henri
2013-08-06 19:39:39 +00:00
parent 3b6a09954b
commit 3a8607d65c

View File

@@ -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 <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#if HAVE_UNISTD_H
#include <unistd.h>
#endif
void fatal(char *fmt, ...)
__attribute__ ((noreturn))