Browse Source

fix #277

pull/278/merge
Max Lv 10 years ago
parent
commit
339372af39
2 changed files with 2 additions and 2 deletions
  1. 3
      src/netutils.c
  2. 1
      src/utils.h

3
src/netutils.c

@ -21,7 +21,6 @@
*/
#include <math.h>
#include <unistd.h>
#include <libcork/core.h>
#include <udns.h>
@ -32,10 +31,12 @@
#ifdef __MINGW32__
#include "win32.h"
#define sleep(n) Sleep(1000 * (n))
#else
#include <sys/socket.h>
#include <netdb.h>
#include <netinet/in.h>
#include <unistd.h>
#endif
#include "netutils.h"

1
src/utils.h

@ -24,7 +24,6 @@
#define _UTILS_H
#include <stdio.h>
#include <unistd.h>
#include <time.h>
#define PORTSTRLEN 16

Loading…
Cancel
Save