aboutsummaryrefslogtreecommitdiff
path: root/tests/valgrindtest.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2017-11-15 14:21:44 -0800
committerGuy Harris <guy@alum.mit.edu>2017-11-15 14:21:44 -0800
commit11d0ea401aac9e2d2bc1fabf2b790e678632c72f (patch)
tree130fbe3b2959d59e6c81c79c7af88fa560f7bbe3 /tests/valgrindtest.c
parente7b32b003ec7a715ed33aff402a0fe4395eb20ee (diff)
Use compiler tests to determine how to define _U_.
One less thing that has to be done in autotools and CMake.
Diffstat (limited to 'tests/valgrindtest.c')
-rw-r--r--tests/valgrindtest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/valgrindtest.c b/tests/valgrindtest.c
index 6bb6d4f6..ef387c97 100644
--- a/tests/valgrindtest.c
+++ b/tests/valgrindtest.c
@@ -19,6 +19,8 @@
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*/
+#include "varattrs.h"
+
/*
* This doesn't actually test libpcap itself; it tests whether
* valgrind properly handles the APIs libpcap uses. If it doesn't,