about summary refs log tree commit diff
path: root/src/legacy/getusershell.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy/getusershell.c')
-rw-r--r--src/legacy/getusershell.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/legacy/getusershell.c b/src/legacy/getusershell.c
index f31f4042..5fecdec2 100644
--- a/src/legacy/getusershell.c
+++ b/src/legacy/getusershell.c
@@ -1,7 +1,6 @@
 #define _GNU_SOURCE
 #include <stdio.h>
-#include <string.h>
-#include <stdlib.h>
+#include <unistd.h>
 
 static const char defshells[] = "/bin/sh\n/bin/csh\n";