From 3496e543af98dac2a673974a569d685ee321031a 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. --- src/suricata-common.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/suricata-common.h b/src/suricata-common.h index 98d73d2c47..6e6cd397f2 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