summaryrefslogtreecommitdiff
path: root/src/legacy/getpass.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/legacy/getpass.c')
-rw-r--r--src/legacy/getpass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/legacy/getpass.c b/src/legacy/getpass.c
index d439a2a5..3565d95f 100644
--- a/src/legacy/getpass.c
+++ b/src/legacy/getpass.c
@@ -1,5 +1,5 @@
+#define _GNU_SOURCE
#include <stdio.h>
-#include <string.h>
#include <termios.h>
#include <unistd.h>
#include <fcntl.h>