diff options
author | Nick Mathewson <nickm@torproject.org> | 2019-01-09 08:52:10 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2019-01-09 08:52:10 -0500 |
commit | e6a44012001afb2d4c5956e4b55ccf6b622fd79e (patch) | |
tree | 293ab440980e317c3d7fe99c67e24f9f155d05f9 /src/test/test-memwipe.c | |
parent | a891d81c5f62cdda37b4371ebe2782e23e4f6db1 (diff) | |
parent | 09472791d0ccf5b527a5b59eceb218aff38c2880 (diff) | |
download | tor-e6a44012001afb2d4c5956e4b55ccf6b622fd79e.tar.gz tor-e6a44012001afb2d4c5956e4b55ccf6b622fd79e.zip |
Merge branch 'maint-0.3.5'
Diffstat (limited to 'src/test/test-memwipe.c')
-rw-r--r-- | src/test/test-memwipe.c | 4 |
1 files changed, 4 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)); |