diff --git a/src/mactelnet.c b/src/mactelnet.c index ec07d7b..3552e59 100644 --- a/src/mactelnet.c +++ b/src/mactelnet.c @@ -37,6 +37,7 @@ #endif #if defined(__FreeBSD__) || defined(__APPLE__) #include +#include #include #else #include diff --git a/src/mtwei.c b/src/mtwei.c index 2a2b99f..679428f 100644 --- a/src/mtwei.c +++ b/src/mtwei.c @@ -36,7 +36,7 @@ #include #include #include -#if defined(__linux__) +#if defined(HAVE_SYS_RANDOM_H) #include #endif