Fixed err.h errors

This commit is contained in:
frekky 2015-11-16 21:59:01 +08:00
parent 4c8732f0ca
commit 03909ad59b
3 changed files with 5 additions and 1 deletions

View File

@ -28,7 +28,6 @@
#include <fcntl.h>
#include <time.h>
#include <zlib.h>
#include <err.h>
#include <ctype.h>
#include "common.h"
@ -55,6 +54,8 @@
#ifdef WINDOWS32
WORD req_version = MAKEWORD(2, 2);
WSADATA wsa_data;
#else
#include <err.h>
#endif
/* Global server variables */

View File

@ -19,7 +19,9 @@
#include <time.h>
#include <sys/time.h>
#include <stdio.h>
#ifndef WINDOWS32
#include <err.h>
#endif
#include <string.h>
#include <stdlib.h>

View File

@ -20,6 +20,7 @@
typedef unsigned int in_addr_t;
#include <stdlib.h>
#include <winsock2.h>
#include <windows.h>
#include <windns.h>