summaryrefslogtreecommitdiffstats
path: root/crypto/scrypt/scrypt_platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/scrypt/scrypt_platform.h')
-rw-r--r--crypto/scrypt/scrypt_platform.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/crypto/scrypt/scrypt_platform.h b/crypto/scrypt/scrypt_platform.h
new file mode 100644
index 000000000..5cec23631
--- /dev/null
+++ b/crypto/scrypt/scrypt_platform.h
@@ -0,0 +1,12 @@
+#ifndef _SCRYPT_PLATFORM_H_
+#define _SCRYPT_PLATFORM_H_
+
+#if defined(CONFIG_H_FILE)
+#include CONFIG_H_FILE
+#elif defined(HAVE_CONFIG_H)
+#include "config.h"
+#else
+#error Need either CONFIG_H_FILE or HAVE_CONFIG_H defined.
+#endif
+
+#endif /* !_SCRYPT_PLATFORM_H_ */