You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
572 B

  1. Added missing includes required by openwrt. Expected to be portable.
  2. --- a/common/Socket_unix.cpp
  3. +++ b/common/Socket_unix.cpp
  4. @@ -8,6 +8,7 @@
  5. #include <stdio.h>
  6. #include <unistd.h>
  7. #include <sys/socket.h>
  8. +#include <sys/select.h> // POSIX.1-2001
  9. #include <sys/un.h>
  10. #include <fcntl.h>
  11. #include <math.h>
  12. --- a/service/ConnectionListener_unix.cpp
  13. +++ b/service/ConnectionListener_unix.cpp
  14. @@ -13,6 +13,7 @@
  15. #include <fcntl.h>
  16. #include <errno.h>
  17. #include <string>
  18. +#include <cstring> // strcpy
  19. #include "service/ConnectionListener.h"
  20. #include "common/Socket.h"