diff options
author | Dan Winship <danw@gnome.org> | 2014-11-13 10:07:02 -0500 |
---|---|---|
committer | Dan Winship <danw@gnome.org> | 2014-11-13 17:18:42 -0500 |
commit | 3bfb163a74fb98698b03d8a605b0164869a2ed4a (patch) | |
tree | 9aff34e20cafdfdce5fed6dc98e2e1a1b07e7a3c /src/rdisc | |
parent | 125f7c4d40b7048209d031b3322e46e081d7c328 (diff) | |
download | NetworkManager-3bfb163a74fb98698b03d8a605b0164869a2ed4a.tar.gz |
all: consistently include config.h
config.h should be included from every .c file, and it should be
included before any other include. Fix that.
(As a side effect of how I did this, this also changes us to
consistently use "config.h" rather than <config.h>. To the extent that
it matters [which is not much], quotes are more correct anyway, since
we're talking about a file in our own build tree, not a system
include.)
Diffstat (limited to 'src/rdisc')
-rw-r--r-- | src/rdisc/nm-fake-rdisc.c | 2 | ||||
-rw-r--r-- | src/rdisc/nm-lndp-rdisc.c | 2 | ||||
-rw-r--r-- | src/rdisc/nm-rdisc.c | 2 | ||||
-rw-r--r-- | src/rdisc/tests/rdisc.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/src/rdisc/nm-fake-rdisc.c b/src/rdisc/nm-fake-rdisc.c index bdd207ca46..e631f28d65 100644 --- a/src/rdisc/nm-fake-rdisc.c +++ b/src/rdisc/nm-fake-rdisc.c @@ -18,6 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ +#include "config.h" + #include <string.h> #include <arpa/inet.h> diff --git a/src/rdisc/nm-lndp-rdisc.c b/src/rdisc/nm-lndp-rdisc.c index d265076999..ff1bd33ded 100644 --- a/src/rdisc/nm-lndp-rdisc.c +++ b/src/rdisc/nm-lndp-rdisc.c @@ -18,6 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ +#include "config.h" + #include <string.h> #include <arpa/inet.h> /* stdarg.h included because of a bug in ndp.h */ diff --git a/src/rdisc/nm-rdisc.c b/src/rdisc/nm-rdisc.c index a326e6f03f..8729fa63df 100644 --- a/src/rdisc/nm-rdisc.c +++ b/src/rdisc/nm-rdisc.c @@ -18,6 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ +#include "config.h" + #include <stdlib.h> #include <arpa/inet.h> diff --git a/src/rdisc/tests/rdisc.c b/src/rdisc/tests/rdisc.c index 26237093df..d577a63ae4 100644 --- a/src/rdisc/tests/rdisc.c +++ b/src/rdisc/tests/rdisc.c @@ -18,6 +18,8 @@ * Copyright (C) 2013 Red Hat, Inc. */ +#include "config.h" + #include <string.h> #include <syslog.h> |