Skip to content

Commit

Permalink
msvc build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
BlockoS committed Dec 3, 2022
1 parent 0d28f21 commit 1a6bffb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,22 @@
#include <stdarg.h>
#include <errno.h>

#include <unistd.h>
#include <stdint.h>
#include <time.h>

#include <sys/types.h>
#include <sys/stat.h>
#include <sys/time.h>

#include <string.h>
#include <fcntl.h>
#include <limits.h>
#include <ctype.h>

#if defined(__linux__)
# include <sys/time.h>
# include <unistd.h>
#endif

#if defined(_MSC_VER)
# define strncasecmp _strnicmp
# define strcasecmp _stricmp
Expand Down

0 comments on commit 1a6bffb

Please sign in to comment.