summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/pam_shells/pam_shells.c1
-rw-r--r--modules/pam_stress/pam_stress.c1
2 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_shells/pam_shells.c b/modules/pam_shells/pam_shells.c
index b70ba030..37d740dc 100644
--- a/modules/pam_shells/pam_shells.c
+++ b/modules/pam_shells/pam_shells.c
@@ -12,6 +12,7 @@
#include <pwd.h>
#include <stdarg.h>
+#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <sys/stat.h>
diff --git a/modules/pam_stress/pam_stress.c b/modules/pam_stress/pam_stress.c
index f5126fd2..7828f421 100644
--- a/modules/pam_stress/pam_stress.c
+++ b/modules/pam_stress/pam_stress.c
@@ -10,7 +10,6 @@
#include <stdlib.h>
#include <stdio.h>
-#define __USE_BSD
#include <syslog.h>
#include <stdarg.h>