Skip to content

Commit

Permalink
Include <sys/time.h> under Windows.
Browse files Browse the repository at this point in the history
This fixes building with MinGW.
  • Loading branch information
jech committed May 31, 2015
1 parent e723aa2 commit 209d1d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dht.c
Expand Up @@ -36,11 +36,11 @@ THE SOFTWARE.
#include <errno.h>
#include <string.h>
#include <stdarg.h>
#include <sys/time.h>

#ifndef _WIN32
#include <unistd.h>
#include <fcntl.h>
#include <sys/time.h>

#include <arpa/inet.h>
#include <sys/types.h>
Expand Down

0 comments on commit 209d1d3

Please sign in to comment.