mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-16 04:54:55 +03:00
Merge pull request #446 from mrdeep1/coap-rd-windows
coap-rd: Fix windows build
This commit is contained in:
1 file changed
+3
@@ -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>
|
||||
|
||||
Reference in new issue
Block a user