summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--htpasswd.c1
-rw-r--r--mini_httpd.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/htpasswd.c b/htpasswd.c
index 31ac769..5a3ab8c 100644
--- a/htpasswd.c
+++ b/htpasswd.c
@@ -15,6 +15,7 @@
#include <stdlib.h>
#include <time.h>
#include <unistd.h>
+#include <crypt.h>
#define LF 10
#define CR 13
diff --git a/mini_httpd.c b/mini_httpd.c
index ed963f0..d5ce4fd 100644
--- a/mini_httpd.c
+++ b/mini_httpd.c
@@ -52,6 +52,8 @@
#include <arpa/inet.h>
#include <netdb.h>
#include <dirent.h>
+#include <crypt.h>
+#include <grp.h>
#include "port.h"
#include "match.h"