From 5d0fe15f69f9987ff4c8988d6c41b6426d3d27c3 Mon Sep 17 00:00:00 2001 From: Jeff Lucovsky Date: Mon, 23 Aug 2021 08:46:10 -0400 Subject: [PATCH] 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) --- src/suricata-common.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.47.2