Merge pull request #446 from mrdeep1/coap-rd-windows

coap-rd: Fix windows build
This commit is contained in:
obgm authored and GitHub committed 2020-01-17 10:58:25 +01:00
commit b136504d22
1 file changed
+3
+3
View File
@@ -28,6 +28,9 @@
#ifdef _WIN32
#define strcasecmp _stricmp
#include "getopt.c"
#if !defined(S_ISDIR)
#define S_ISDIR(m) (((m) & S_IFMT) == S_IFDIR)
#endif
#else
#include <unistd.h>
#include <sys/select.h>