summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKarel Zak2018-06-21 14:24:01 +0200
committerKarel Zak2018-06-21 14:24:01 +0200
commit2cb147e026b7986d31a7b5b9a8fed63c137985b4 (patch)
tree12ddbb054e39f57b066f656ceecdf21b17ca371f /include
parentMerge branch 'more' of https://github.com/kerolasa/util-linux (diff)
downloadkernel-qcow2-util-linux-2cb147e026b7986d31a7b5b9a8fed63c137985b4.tar.gz
kernel-qcow2-util-linux-2cb147e026b7986d31a7b5b9a8fed63c137985b4.tar.xz
kernel-qcow2-util-linux-2cb147e026b7986d31a7b5b9a8fed63c137985b4.zip
include/path: make sure PATH_MAX is defined
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/path.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/path.h b/include/path.h
index b36a735f3..7ab9779a5 100644
--- a/include/path.h
+++ b/include/path.h
@@ -7,6 +7,8 @@
#include <sys/types.h>
#include <dirent.h>
+#include "c.h"
+
struct path_cxt {
int dir_fd;
char *dir_path;