]> sigrok.org Git - libsigrok.git/blobdiff - hardware/common/serial.c
serial: Fix Windows build.
[libsigrok.git] / hardware / common / serial.c
index 6591ec89527fe45d0210bae85cfe74523ad35793..8ab2d401402ce7ed03dd20784f138f1305b894c4 100644 (file)
 #else
 #include <glob.h>
 #include <termios.h>
+#include <sys/ioctl.h>
 #endif
 #include <stdlib.h>
 #include <errno.h>
-#include <sys/ioctl.h>
 #include <glib.h>
 #include "libsigrok.h"
 #include "libsigrok-internal.h"