Windows compile fixes

This commit is contained in:
JCash
2020-09-03 17:28:10 +02:00
parent 90a654e639
commit bd9e777b99
3 changed files with 18 additions and 2 deletions

View File

@@ -2,8 +2,12 @@
#ifndef CONFIG_H
#define CONFIG_H
#define HAVE_ARPA_INET_H
#define HAVE_NETINET_IN_H
#if defined(_WIN32)
#define HAVE_WINSOCK2_H
#else
#define HAVE_ARPA_INET_H
#define HAVE_NETINET_IN_H
#endif
/* #undef HAVE_WINSOCK2_H */
/* #undef WORDS_BIGENDIAN */