summaryrefslogtreecommitdiff
path: root/command/cp.c
diff options
context:
space:
mode:
authorTyler Murphy <tylerm@tylerm.dev>2023-05-06 00:39:44 -0400
committerTyler Murphy <tylerm@tylerm.dev>2023-05-06 00:39:44 -0400
commitd8f2c10b7108fff6b7e437291093a1cadc15ab9f (patch)
tree3fc50a19d6fbb9c94a8fe147cd2a6c4ba7f59b8d /command/cp.c
parentansii c (diff)
downloadlazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.tar.gz
lazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.tar.bz2
lazysphere-d8f2c10b7108fff6b7e437291093a1cadc15ab9f.zip
refactor
Diffstat (limited to '')
-rw-r--r--command/cp.c (renamed from src/commands/cp.c)7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/commands/cp.c b/command/cp.c
index df88155..ca80f69 100644
--- a/src/commands/cp.c
+++ b/command/cp.c
@@ -1,7 +1,12 @@
-#include "../command.h"
+#include "command.h"
+#include "lslib.h"
+
#include <dirent.h>
+#include <errno.h>
#include <limits.h>
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <sys/stat.h>
#include <unistd.h>