summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-10-02 21:19:38 +0200
committerFlorian Westphal <fw@strlen.de>2025-07-09 22:16:40 +0200
commit7a7722ee336fac14690851f6c84965582a741601 (patch)
treefbcf6ef1b6badaabb8461a9d5bae5037e0b4a229 /include
parent56e37303ed30a4f9b73ec1f90b53da7dda645748 (diff)
include: utils.h needs errno.hHEADmaster
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>
Diffstat (limited to 'include')
-rw-r--r--include/utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/utils.h b/include/utils.h
index eed6127..247d99d 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>