diff mbox series

[libnftnl,1/4] include: utils.h needs errno.h

Message ID 20241002191941.8410-2-phil@nwl.cc
State New
Headers show
Series Support wildcard netdev hooks and events | expand

Commit Message

Phil Sutter Oct. 2, 2024, 7:19 p.m. UTC
Otherwise includers may face 'errno' undeclared errors.

Fixes: 26c945057d742 ("src: split internal.h is smaller files")
Signed-off-by: Phil Sutter <phil@nwl.cc>
---
 include/utils.h | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/include/utils.h b/include/utils.h
index eed61277595e2..247d99d19dd7f 100644
--- a/include/utils.h
+++ b/include/utils.h
@@ -1,6 +1,7 @@ 
 #ifndef LIBNFTNL_UTILS_H
 #define LIBNFTNL_UTILS_H 1
 
+#include <errno.h>
 #include <stdio.h>
 #include <stdint.h>
 #include <string.h>