diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-07-20 14:21:24 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2016-07-20 14:21:24 +0200 |
commit | 492322211c6a432d000bc18fe57a659e910a05e5 (patch) | |
tree | 54a188389db3c09e53ff689d7bd628e31b778214 /mcastseed/src | |
parent | 6d1adde7f4d51ec8d29d98920f2d22401a7a0e12 (diff) | |
download | eficast-492322211c6a432d000bc18fe57a659e910a05e5.tar.gz eficast-492322211c6a432d000bc18fe57a659e910a05e5.tar.bz2 eficast-492322211c6a432d000bc18fe57a659e910a05e5.zip |
Adjust autoconf/make config for using gnulib + use config.h
Diffstat (limited to 'mcastseed/src')
-rw-r--r-- | mcastseed/src/Makefile.am | 1 | ||||
-rw-r--r-- | mcastseed/src/dgrambuf.c | 4 | ||||
-rw-r--r-- | mcastseed/src/mcastleech.c | 1 | ||||
-rw-r--r-- | mcastseed/src/mcastseed.c | 1 |
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 */ |