summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/wgtpkg-files.c1
-rw-r--r--src/wgtpkg-workdir.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/wgtpkg-files.c b/src/wgtpkg-files.c
index bb758e0..cbba052 100644
--- a/src/wgtpkg-files.c
+++ b/src/wgtpkg-files.c
@@ -22,6 +22,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
+#include <limits.h>
#include "verbose.h"
#include "wgtpkg.h"
diff --git a/src/wgtpkg-workdir.c b/src/wgtpkg-workdir.c
index 81ae0c9..d110898 100644
--- a/src/wgtpkg-workdir.c
+++ b/src/wgtpkg-workdir.c
@@ -24,6 +24,7 @@
#include <assert.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <limits.h>
#include "verbose.h"
#include "wgtpkg.h"