diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-22 21:39:25 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-02-22 21:39:25 +0100 |
commit | 181d762e968ce22f9fc24b24271101af06262875 (patch) | |
tree | 680fe0b96a665bb17efcde53fccca7c24e580dd7 | |
parent | Don't forget optional -l argument (diff) | |
download | mulder-listen-daemon-181d762e968ce22f9fc24b24271101af06262875.tar.xz mulder-listen-daemon-181d762e968ce22f9fc24b24271101af06262875.zip |
Fix build warnings
-rw-r--r-- | mulderd.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -10,12 +10,14 @@ * */ +#define _GNU_SOURCE #include <stdlib.h> #include <stdio.h> #include <string.h> #include <ctype.h> #include <unistd.h> #include <pwd.h> +#include <grp.h> #include <getopt.h> #include <fcntl.h> #include <time.h> @@ -25,6 +27,7 @@ #include <sys/prctl.h> #include <sys/stat.h> #include <sys/resource.h> +#include <arpa/inet.h> #include <netinet/in.h> static char truth[] = "\033[32;1m\n\n" |