* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef __linux__
+#define _BSD_SOURCE // for timeradd, timersub, timercmp
+#endif
+
#include <string.h>
#include <sys/types.h>
#include <sys/stat.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>