summaryrefslogtreecommitdiff
path: root/test_utils
diff options
context:
space:
mode:
authorMartin Matuska <martin@matuska.org>2020-01-13 13:28:26 +0100
committerMartin Matuska <martin@matuska.org>2020-01-13 13:42:41 +0100
commitbdea136855bf7d7cb42cc90c6fbe0c1b4719859d (patch)
tree3f646b47b4ae17acad6ced3ab28be7ed23ae6db3 /test_utils
parent5be1a96f75a7ffc46cba8c63a09a193152338366 (diff)
downloadlibarchive-bdea136855bf7d7cb42cc90c6fbe0c1b4719859d.tar.gz
Unify header style, header guard comes first
Found by LGTM.com code analysis
Diffstat (limited to 'test_utils')
-rw-r--r--test_utils/test_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test_utils/test_common.h b/test_utils/test_common.h
index 7538d8cb..e12c152c 100644
--- a/test_utils/test_common.h
+++ b/test_utils/test_common.h
@@ -132,6 +132,10 @@
#define O_BINARY 0
#endif
+#ifndef __LIBARCHIVE_TEST_COMMON
+#define __LIBARCHIVE_TEST_COMMON
+#endif
+
#include "archive_platform_acl.h"
#define ARCHIVE_TEST_ACL_TYPE_POSIX1E 1
#define ARCHIVE_TEST_ACL_TYPE_NFS4 2