diff options
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test-memwipe.c | 4 | ||||
-rw-r--r-- | src/test/test_options.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/test/test-memwipe.c b/src/test/test-memwipe.c index c879013ed6..b00e854a1c 100644 --- a/src/test/test-memwipe.c +++ b/src/test/test-memwipe.c @@ -12,6 +12,10 @@ #include <sys/types.h> #include <stdlib.h> +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif + static unsigned fill_a_buffer_memset(void) __attribute__((noinline)); static unsigned fill_a_buffer_memwipe(void) __attribute__((noinline)); static unsigned fill_a_buffer_nothing(void) __attribute__((noinline)); diff --git a/src/test/test_options.c b/src/test/test_options.c index f14e620eeb..dd24ff4410 100644 --- a/src/test/test_options.c +++ b/src/test/test_options.c @@ -23,6 +23,10 @@ #include "test/test_helpers.h" #include "lib/net/resolve.h" +#ifdef HAVE_SYS_PARAM_H +#include <sys/param.h> +#endif + #define NS_MODULE test_options typedef struct { |