Przeglądaj źródła

Fixes #1869 undefined `struct timeval` on alpine linux

Stefan Profanter 6 lat temu
rodzic
commit
1ac542c60b
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/server/ua_services_discovery_multicast.c

+ 1 - 0
src/server/ua_services_discovery_multicast.c

@@ -33,6 +33,7 @@
 # endif
 #else
 # include <unistd.h> //access
+# include <sys/time.h> // struct timeval
 #endif
 
 #include <fcntl.h>