]> sigrok.org Git - libserialport.git/blobdiff - libserialport_internal.h
windows: -no-undefined is required to make a DLL.
[libserialport.git] / libserialport_internal.h
index bef84b66f26f061bb4fdd791667d806446fcb3b9..031ffeffde76150fcb3b5e6d4af4426dad19a114 100644 (file)
@@ -20,7 +20,6 @@
 
 #ifdef __linux__
 #define _BSD_SOURCE // for timeradd, timersub, timercmp
-#define _XOPEN_SOURCE 700 // for readlinkat
 #endif
 
 #include <string.h>
 #include <stdio.h>
 #include <stdarg.h>
 #ifdef _WIN32
+#include <initguid.h>
+
 #include <windows.h>
 #include <tchar.h>
 #include <setupapi.h>
 #include <cfgmgr32.h>
 #include <usbioctl.h>
+#include <usbiodef.h>
 #else
 #include <limits.h>
 #include <termios.h>