소스 검색

Fixes #1869 undefined `struct timeval` on alpine linux

Stefan Profanter 6 년 전
부모
커밋
1ac542c60b
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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>