aboutsummaryrefslogtreecommitdiff
path: root/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'ln.c')
-rw-r--r--ln.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ln.c b/ln.c
index e69cb024a..d6bf6443a 100644
--- a/ln.c
+++ b/ln.c
@@ -28,7 +28,10 @@
#include <stdio.h>
#include <dirent.h>
+#include <string.h>
+#include <stdlib.h>
#include <errno.h>
+#include <unistd.h>
static const int LN_SYMLINK = 1;
static const int LN_FORCE = 2;