summaryrefslogtreecommitdiff
path: root/command/whoami.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--command/whoami.c (renamed from src/commands/whoami.c)5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/commands/whoami.c b/command/whoami.c
index 7fd7c85..5823b8f 100644
--- a/src/commands/whoami.c
+++ b/command/whoami.c
@@ -1,6 +1,9 @@
-#include "../command.h"
+#include "command.h"
+#include "lslib.h"
#include <pwd.h>
+#include <stdlib.h>
+#include <unistd.h>
static void help(void) {
printf("Usage: whoami\n\n");