]> sigrok.org Git - libsigrok.git/commitdiff
ipdbg-la: Fix a build issue on Windows.
authorUwe Hermann <redacted>
Sat, 1 Sep 2018 19:00:31 +0000 (21:00 +0200)
committerUwe Hermann <redacted>
Sat, 1 Sep 2018 19:06:57 +0000 (21:06 +0200)
  [...]/protocol.c:41:23: fatal error: sys/ioctl.h: No such file or directory

src/hardware/ipdbg-la/protocol.c

index f67730ae69adefaf81da46b439e33e65c7fe492f..4c97d0b9389e7d88547c4c07048a71a1230c3154 100644 (file)
 #include <netinet/in.h>
 #include <arpa/inet.h>
 #include <netdb.h>
+#include <sys/ioctl.h>
 #endif
 
 #include <errno.h>
 #include "protocol.h"
 
-#include <sys/ioctl.h>
-
 #define BUFFER_SIZE 4
 
 /* Top-level command opcodes */