aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libarchive/libarchive/archive_digest_private.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/libarchive/libarchive/archive_digest_private.h')
-rw-r--r--contrib/libarchive/libarchive/archive_digest_private.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/libarchive/libarchive/archive_digest_private.h b/contrib/libarchive/libarchive/archive_digest_private.h
index 15312ee9a07a..9b3bd6621bf3 100644
--- a/contrib/libarchive/libarchive/archive_digest_private.h
+++ b/contrib/libarchive/libarchive/archive_digest_private.h
@@ -30,6 +30,10 @@
#ifndef __LIBARCHIVE_BUILD
#error This header is only to be used internally to libarchive.
#endif
+#ifndef __LIBARCHIVE_CONFIG_H_INCLUDED
+#error "Should have include config.h first!"
+#endif
+
/*
* Crypto support in various Operating Systems:
*