Commit a00c9ae8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

cmake: Check for inet functions.

parent 0e2eb38d
...@@ -113,6 +113,10 @@ set(CMAKE_EXTRA_INCLUDE_FILES sys/stat.h) ...@@ -113,6 +113,10 @@ set(CMAKE_EXTRA_INCLUDE_FILES sys/stat.h)
vlc_check_functions_exist(lstat fstat stat) vlc_check_functions_exist(lstat fstat stat)
set(CMAKE_EXTRA_INCLUDE_FILES) set(CMAKE_EXTRA_INCLUDE_FILES)
set(CMAKE_EXTRA_INCLUDE_FILES arpa/inet.h)
vlc_check_functions_exist(inet_pton inet_aton inet_ntop inet_pton)
set(CMAKE_EXTRA_INCLUDE_FILES)
set(CMAKE_REQUIRED_LIBRARIES) set(CMAKE_REQUIRED_LIBRARIES)
check_library_exists(poll poll "" HAVE_POLL) check_library_exists(poll poll "" HAVE_POLL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment