diff --git a/src/helper/types.h b/src/helper/types.h index 58c9e7245..a7dd2a816 100644 --- a/src/helper/types.h +++ b/src/helper/types.h @@ -22,7 +22,12 @@ #ifndef OPENOCD_HELPER_TYPES_H #define OPENOCD_HELPER_TYPES_H +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include +#include #ifdef HAVE_SYS_TYPES_H #include #endif