summaryrefslogtreecommitdiff
path: root/mcastseed/src
diff options
context:
space:
mode:
Diffstat (limited to 'mcastseed/src')
-rw-r--r--mcastseed/src/Makefile.am1
-rw-r--r--mcastseed/src/dgrambuf.c4
-rw-r--r--mcastseed/src/mcastleech.c1
-rw-r--r--mcastseed/src/mcastseed.c1
4 files changed, 6 insertions, 1 deletions
diff --git a/mcastseed/src/Makefile.am b/mcastseed/src/Makefile.am
index 7af38c9..1e3351c 100644
--- a/mcastseed/src/Makefile.am
+++ b/mcastseed/src/Makefile.am
@@ -1,5 +1,6 @@
## Process this file with automake to produce Makefile.in
+AM_CPPFLAGS = -I ../lib
AM_CFLAGS =\
-Wall \
-Wextra \
diff --git a/mcastseed/src/dgrambuf.c b/mcastseed/src/dgrambuf.c
index e4c5e09..4863bb7 100644
--- a/mcastseed/src/dgrambuf.c
+++ b/mcastseed/src/dgrambuf.c
@@ -4,9 +4,10 @@
* Copyright 2016 by Ludovic Pouzenc <ludovic@pouzenc.fr>
*/
#define _GNU_SOURCE /* See feature_test_macros(7) */
-
#include "dgrambuf.h"
+#include "config.h"
+
#include <sys/socket.h> /* recvmmsg() _GNU_SOURCE */
#include <stdlib.h> /* calloc(), free(), qsort() */
#include <stdio.h> /* perror() */
@@ -17,6 +18,7 @@
#include <signal.h> /* sigaction() */
#include <unistd.h> /* alarm() */
#include <limits.h> /* SSIZE_MAX */
+#include "gl_rbtree_oset.h" /* Red-Black Tree Ordered Set, gnulib-tool --import rbtree-oset */
struct uint_pair {
unsigned int index;
diff --git a/mcastseed/src/mcastleech.c b/mcastseed/src/mcastleech.c
index bbdcf20..9bba7aa 100644
--- a/mcastseed/src/mcastleech.c
+++ b/mcastseed/src/mcastleech.c
@@ -7,6 +7,7 @@
* http://cboard.cprogramming.com/showthread.php?t=67469
*/
#define _GNU_SOURCE /* See feature_test_macros(7) */
+#include "config.h"
#include <unistd.h> /* close() */
#include <stdio.h> /* fprintf(), stderr */
diff --git a/mcastseed/src/mcastseed.c b/mcastseed/src/mcastseed.c
index 04d5575..3e8b50c 100644
--- a/mcastseed/src/mcastseed.c
+++ b/mcastseed/src/mcastseed.c
@@ -7,6 +7,7 @@
* http://cboard.cprogramming.com/showthread.php?t=67469
*/
#define _GNU_SOURCE /* See feature_test_macros(7) */
+#include "config.h"
#include <unistd.h> /* close() */
#include <stdio.h> /* fprintf(), stderr */