diff options
Diffstat (limited to 'src/protocol.h')
-rw-r--r-- | src/protocol.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h index 3e57251..1ab2c1a 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -1,4 +1,6 @@ #pragma once +#include "util_ct.h" + #include <stddef.h> @@ -19,6 +21,7 @@ typedef enum { NB_PRNE_ARCH } prne_arch_t; +PRNE_LIMIT_ENUM(prne_arch_t, NB_PRNE_ARCH, 0xFF); const char *prne_arch2str (const prne_arch_t x); |