001-fix-includes.patch 476 B

12345678910111213141516171819202122232425
  1. --- a/src/sispm_ctl.c
  2. +++ b/src/sispm_ctl.c
  3. @@ -33,6 +33,7 @@
  4. #include <stdlib.h>
  5. #include <unistd.h>
  6. #include <time.h>
  7. +#include <sys/types.h>
  8. #include <usb.h>
  9. #include <assert.h>
  10. #include "sispm_ctl.h"
  11. --- a/src/main.c
  12. +++ b/src/main.c
  13. @@ -34,11 +34,11 @@
  14. #define __USE_XOPEN
  15. #include <time.h>
  16. #include <signal.h>
  17. -#include <usb.h>
  18. #include <assert.h>
  19. #include <getopt.h>
  20. #include <sys/types.h>
  21. #include <sys/socket.h>
  22. +#include <usb.h>
  23. #include <fcntl.h>