Commit 4a0b41ee authored by Simon McVittie's avatar Simon McVittie

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=59971Signed-off-by: 's avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: Colin Walters's avatarColin Walters <walters@verbum.org>
parent 0e90efd5
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
#include "config.h"
/* This is a process that just exits with a failure code */
int
main (int argc, char **argv)
......
......@@ -27,6 +27,7 @@
* SUCH DAMAGE.
*/
#include "config.h"
#include <limits.h>
#ifdef HAVE_ERRNO_H
......
......@@ -27,6 +27,7 @@
* SUCH DAMAGE.
*/
#include "config.h"
#include <limits.h>
#ifdef HAVE_ERRNO_H
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment