aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_platform_acl.h
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_platform_acl.h')
-rw-r--r--libarchive/archive_platform_acl.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libarchive/archive_platform_acl.h b/libarchive/archive_platform_acl.h
index 3498f78b3c85..264e6de375a1 100644
--- a/libarchive/archive_platform_acl.h
+++ b/libarchive/archive_platform_acl.h
@@ -30,6 +30,12 @@
#ifndef ARCHIVE_PLATFORM_ACL_H_INCLUDED
#define ARCHIVE_PLATFORM_ACL_H_INCLUDED
+#ifndef __LIBARCHIVE_BUILD
+#ifndef __LIBARCHIVE_TEST_COMMON
+#error This header is only to be used internally to libarchive.
+#endif
+#endif
+
/*
* Determine what ACL types are supported
*/