]> git.ipfire.org Git - thirdparty/libnftnl.git/commitdiff
include: utils.h needs errno.h
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Oct 2024 19:19:38 +0000 (21:19 +0200)
committerFlorian Westphal <fw@strlen.de>
Wed, 9 Jul 2025 20:16:40 +0000 (22:16 +0200)
Otherwise includers may face 'errno' undeclared errors.

Fixes: 26c945057d742 ("src: split internal.h is smaller files")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Florian Westphal <fw@strlen.de>
include/utils.h

index eed61277595e252143f5364b93399b60dd5b2119..247d99d19dd7f1a8d920015bb0d0820d1d1077a9 100644 (file)
@@ -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>