mirror of
https://github.com/nmap/nmap.git
synced 2026-07-10 18:24:41 +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:
parent
3b6a09954b
commit
3a8607d65c
1 changed files with 16 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue