diff options
author | dimitri staessens <[email protected]> | 2016-10-22 12:33:00 +0000 |
---|---|---|
committer | dimitri staessens <[email protected]> | 2016-10-22 12:33:00 +0000 |
commit | cf97ff1b1971a676d04b6f0a16bb3c5bb53c933c (patch) | |
tree | f7dc898f96705418d3b6af0d78979aaefa364e3e | |
parent | 727efbe0c5e61862a870c71a2857b28eece3d369 (diff) | |
parent | 0adc6f837f5df8ddfa77b0966fdce0524f8a35ae (diff) | |
download | ouroboros-cf97ff1b1971a676d04b6f0a16bb3c5bb53c933c.tar.gz ouroboros-cf97ff1b1971a676d04b6f0a16bb3c5bb53c933c.zip |
Merged in dstaesse/ouroboros/be-fix-build (pull request #269)
build: Fix missing include
-rw-r--r-- | src/ipcpd/shim-udp/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ipcpd/shim-udp/CMakeLists.txt b/src/ipcpd/shim-udp/CMakeLists.txt index c63bd29c..3b740783 100644 --- a/src/ipcpd/shim-udp/CMakeLists.txt +++ b/src/ipcpd/shim-udp/CMakeLists.txt @@ -17,6 +17,7 @@ protobuf_generate_c(SHIM_UDP_PROTO_SRCS SHIM_UDP_PROTO_HDRS # Find library needed for gethostbyname. include(CheckFunctionExists) +include(CheckLibraryExists) CHECK_FUNCTION_EXISTS("gethostbyname" CMAKE_HAVE_GETHOSTBYNAME) IF(NOT CMAKE_HAVE_GETHOSTBYNAME) CHECK_LIBRARY_EXISTS("nsl" "gethostbyname" "" CMAKE_LIB_NSL_HAS_GETHOSTBYNAME) |