summaryrefslogtreecommitdiffstats
path: root/utils/sispmctl/patches/001-fix-includes.patch
blob: 218e22e1c675f4b5d37c3e45f8b6d4797eb7029b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- a/src/sispm_ctl.c
+++ b/src/sispm_ctl.c
@@ -33,6 +33,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <time.h>
+#include <sys/types.h>
 #include <usb.h>
 #include <assert.h>
 #include "sispm_ctl.h"
--- a/src/main.c
+++ b/src/main.c
@@ -34,11 +34,11 @@
 #define __USE_XOPEN
 #include <time.h>
 #include <signal.h>
-#include <usb.h>
 #include <assert.h>
 #include <getopt.h>
 #include <sys/types.h>
 #include <sys/socket.h>
+#include <usb.h>
 
 #include <fcntl.h>