--- a/cookie.c +++ b/cookie.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <string.h> #include <syslog.h>+#include <sys/types.h> #include "cookie.h"