diff --git a/c/modreg.c b/c/modreg.c index aa9172fb5..fdd1a76fe 100644 --- a/c/modreg.c +++ b/c/modreg.c @@ -28,6 +28,11 @@ #include "logging.h" +#ifndef METTLE +/* TODO LE support after c/lpa.c gets it */ +#error LE is not supported +#endif + #define PACK_RC_RSN(rc32, rsn32) ((uint64_t) (rc32) << 32 | (rsn32)) #define LOG_DEBUG($fmt, ...) \ diff --git a/h/modreg.h b/h/modreg.h index 105561cc4..5070aef42 100644 --- a/h/modreg.h +++ b/h/modreg.h @@ -11,8 +11,12 @@ #ifndef H_MODREG_H_ #define H_MODREG_H_ 1 +#ifdef METTLE #include #include +#else +#include +#endif #include "lpa.h" #include "zowetypes.h"