diff --git a/sx_slentry.h b/sx_slentry.h index 209fa12..1619c2e 100644 --- a/sx_slentry.h +++ b/sx_slentry.h @@ -3,6 +3,10 @@ #if HAVE_SYS_QUEUE_H #include +/* OpenBSD-current as of 2015-08-30 does not define STAILQ_ENTRY anymore */ +#ifndef STAILQ_ENTRY +#include "sys_queue.h" +#endif #else #include "sys_queue.h" #endif