summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorW. Felix Handte <w@felixhandte.com>2018-04-24 22:50:03 (GMT)
committerW. Felix Handte <w@felixhandte.com>2018-04-24 22:50:03 (GMT)
commit27c6eec18d38d78f058e87e415ac979129342861 (patch)
tree705f960ce2870dc27eef6c268d0e0d22cd4c938b /tests
parent2dfc7cbe826342905faa479175f6f050e8445aff (diff)
downloadlz4-27c6eec18d38d78f058e87e415ac979129342861.zip
lz4-27c6eec18d38d78f058e87e415ac979129342861.tar.gz
lz4-27c6eec18d38d78f058e87e415ac979129342861.tar.bz2
Multiply-Include Header to Check Guard Macro Correctness
Diffstat (limited to 'tests')
-rw-r--r--tests/frametest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/frametest.c b/tests/frametest.c
index 01f1300..7d69ff7 100644
--- a/tests/frametest.c
+++ b/tests/frametest.c
@@ -41,8 +41,11 @@
#include <string.h> /* strcmp */
#include <time.h> /* clock_t, clock(), CLOCKS_PER_SEC */
#include <assert.h>
+#include "lz4frame.h" /* include multiple times to test correctness/safety */
+#include "lz4frame.h"
#define LZ4F_STATIC_LINKING_ONLY
#include "lz4frame.h"
+#include "lz4frame.h"
#include "lz4.h" /* LZ4_VERSION_STRING */
#define XXH_STATIC_LINKING_ONLY
#include "xxhash.h" /* XXH64 */