diff --git a/tools/xenstore/include/xenstore_state.h b/tools/xenstore/include/xenstore_state.h index d2a9307400..1bd443f61a 100644 --- a/tools/xenstore/include/xenstore_state.h +++ b/tools/xenstore/include/xenstore_state.h @@ -21,7 +21,11 @@ #ifndef XENSTORE_STATE_H #define XENSTORE_STATE_H +#if defined(__FreeBSD__) || defined(__NetBSD__) +#include +#else #include +#endif #include #ifndef htobe32