aboutsummaryrefslogtreecommitdiff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/config.h b/src/config.h
index 1b2a746..79c12f0 100644
--- a/src/config.h
+++ b/src/config.h
@@ -33,12 +33,18 @@
#endif
#include "protocol.h"
+#include <limits.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#include <zlib.h>
+// Refuse 7-bit byte
+#if CHAR_BIT != 8
+#error "FIXME!"
+#endif
+
/** \def PRNE_HOST_WORDSIZE
* \brief Th system "word size". 32 if the system is a 32-bit machine. 64 if the
* system is a 64-bit machine.