diff --git a/src/app-layer-dnp3.h b/src/app-layer-dnp3.h index 5b395dc9bd..aedef0dcc9 100644 --- a/src/app-layer-dnp3.h +++ b/src/app-layer-dnp3.h @@ -19,6 +19,9 @@ #define __APP_LAYER_DNP3_H__ #include "rust.h" +#if __BYTE_ORDER == __BIG_ENDIAN +#include "util-byte.h" +#endif /** * The maximum size of a DNP3 link PDU.