diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-02-18 14:30:22 +0000 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2013-02-22 13:08:27 +0000 |
commit | 4a0b41ee31bdc67c56f672f6e0a64c42bf34c1ae (patch) | |
tree | 28d76950663d9dd3cca2e74b82a9744429251de3 | |
parent | 0e90efd5b2c2e040763733761a8a320ccc8544c7 (diff) |
Include config.h as the first thing in every .c file
...except for CheckForAbstractSockets.c, which runs before config.h is
generated, and sd-daemon.c, which is externally-maintained.
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=59971
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Colin Walters <walters@verbum.org>
-rw-r--r-- | test/name-test/test-autolaunch.c | 2 | ||||
-rw-r--r-- | test/test-exit.c | 2 | ||||
-rw-r--r-- | tools/strtoll.c | 1 | ||||
-rw-r--r-- | tools/strtoull.c | 1 |
4 files changed, 6 insertions, 0 deletions
diff --git a/test/name-test/test-autolaunch.c b/test/name-test/test-autolaunch.c index 5e519895..adbeb185 100644 --- a/test/name-test/test-autolaunch.c +++ b/test/name-test/test-autolaunch.c @@ -1,3 +1,5 @@ +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> diff --git a/test/test-exit.c b/test/test-exit.c index f3358185..b4f967ae 100644 --- a/test/test-exit.c +++ b/test/test-exit.c @@ -1,3 +1,5 @@ +#include "config.h" + /* This is a process that just exits with a failure code */ int main (int argc, char **argv) diff --git a/tools/strtoll.c b/tools/strtoll.c index e4f57701..7360c630 100644 --- a/tools/strtoll.c +++ b/tools/strtoll.c @@ -27,6 +27,7 @@ * SUCH DAMAGE. */ +#include "config.h" #include <limits.h> #ifdef HAVE_ERRNO_H diff --git a/tools/strtoull.c b/tools/strtoull.c index 459c5091..35595542 100644 --- a/tools/strtoull.c +++ b/tools/strtoull.c @@ -27,6 +27,7 @@ * SUCH DAMAGE. */ +#include "config.h" #include <limits.h> #ifdef HAVE_ERRNO_H |