diff --git a/src/modules/_Crypto/include/crypto_types.h b/src/modules/_Crypto/include/crypto_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..bf5201ca9ae659d394ab34f93d616de1b316462b
--- /dev/null
+++ b/src/modules/_Crypto/include/crypto_types.h
@@ -0,0 +1,16 @@
+/* crypto_types.h
+ *
+ * Defines the types INT32 and INT8 */
+
+#ifndef CRYPTO_TYPES_H_INCLUDED
+#define CRYPTO_TYPES_H_INCLUDED
+
+#ifdef PIKE
+#include <types.h>
+#else /* !PIKE */
+#define INT32 long
+#define INT16 short
+#define INT8 char
+#endif
+
+#endif /* CRYPTO_TYPES_H_INCLUDED */