From: Jeff Lucovsky Date: Mon, 23 Aug 2021 12:46:10 +0000 (-0400) Subject: util: Add sys/ioctl.h to common include X-Git-Tag: suricata-6.0.9~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0fe15f69f9987ff4c8988d6c41b6426d3d27c3;p=thirdparty%2Fsuricata.git util: Add sys/ioctl.h to common include This commit adds another system include file based on autoconf to the common Suricata include file for convenience. (cherry picked from commit 3496e543af98dac2a673974a569d685ee321031a) --- diff --git a/src/suricata-common.h b/src/suricata-common.h index 967849ac91..36ad48cf26 100644 --- a/src/suricata-common.h +++ b/src/suricata-common.h @@ -177,6 +177,10 @@ typedef unsigned char u_char #include #endif +#if HAVE_SYS_IOCTL_H +#include +#endif + #if HAVE_SYS_MMAN_H #include #endif