summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-06-25 01:03:23 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-06-25 01:03:23 +0200
commit9ac7f3588dda7d175e04878e7b871a88306d13bf (patch)
tree00846bf23da618f6fb43da1b24c8b877dd6df60f /cmake
parentfc5e06a19c090d98620a735e33b57aee7c43107d (diff)
downloadfastd-9ac7f3588dda7d175e04878e7b871a88306d13bf.tar
fastd-9ac7f3588dda7d175e04878e7b871a88306d13bf.zip
Don't depend on net/if_ether.h
Instead of adding compatiblity code to make this work with musl, just duplicate the needed definitions in fastd.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/checks.cmake5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmake/checks.cmake b/cmake/checks.cmake
index f9f0399..62d52ff 100644
--- a/cmake/checks.cmake
+++ b/cmake/checks.cmake
@@ -54,11 +54,6 @@ if(NOT DARWIN)
endif(NOT DARWIN)
-set(CMAKE_EXTRA_INCLUDE_FILES "netinet/if_ether.h")
-check_type_size("struct ethhdr" SIZEOF_ETHHDR)
-string(COMPARE NOTEQUAL "${SIZEOF_ETHHDR}" "" HAVE_ETHHDR)
-
-
set(CMAKE_REQUIRED_INCLUDES "sys/types.h")
if(NOT DARWIN)