summaryrefslogtreecommitdiff
path: root/src/readlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/readlink.c')
-rw-r--r--src/readlink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/readlink.c b/src/readlink.c
index be525564a..6e38f0df1 100644
--- a/src/readlink.c
+++ b/src/readlink.c
@@ -23,6 +23,7 @@
#include <unistd.h>
#include <limits.h>
#include <getopt.h>
+#include <sys/types.h>
#include "system.h"
#include "canonicalize.h"