diff options
| author | David Lamparter <equinox@opensourcerouting.org> | 2018-08-28 10:57:13 +0200 | 
|---|---|---|
| committer | David Lamparter <equinox@opensourcerouting.org> | 2018-09-08 21:30:42 +0200 | 
| commit | b45ac5f5c61f98b0aacf65b456547142193ae1fc (patch) | |
| tree | cc932f64c64d19ce520e6947f80ab181c3a741b5 /babeld/source.c | |
| parent | dbac691da646e624addc8f3ed5e744f9d3f8d69f (diff) | |
*: fix config.h/zebra.h include order
config.h (or, transitively, zebra.h) must be the first include file
listed for autoconf things like _GNU_SOURCE and _POSIX_C_SOURCE to work
correctly.
Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'babeld/source.c')
| -rw-r--r-- | babeld/source.c | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/babeld/source.c b/babeld/source.c index d6dd848952..75bca06206 100644 --- a/babeld/source.c +++ b/babeld/source.c @@ -20,6 +20,10 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN  THE SOFTWARE.  */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +  #include <stdlib.h>  #include <stdio.h>  #include <string.h>  | 
