monitor: Fix includes for using with -std=c99 compiler option

This commit is contained in:
Marcel Holtmann 2018-11-01 22:19:11 +01:00
parent 72a64fa7fb
commit 5d9278913f
4 changed files with 6 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <unistd.h>

View File

@ -24,10 +24,12 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
#include <getopt.h>
#include <signal.h>
#include <sys/socket.h>

View File

@ -24,6 +24,7 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <errno.h>
#include <ctype.h>

View File

@ -24,11 +24,13 @@
#include <config.h>
#endif
#define _GNU_SOURCE
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/uio.h>
#include <sys/types.h>
#include <ell/ell.h>
#include "monitor/pcap.h"