sysdeps: try to avoid re-including config.h

Re-including config.h after we have already included glib.h breaks
the GLIB_VERSION_MAX_ALLOWED macro, and every .c file should be
including config.h anyway.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=83115
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
This commit is contained in:
Simon McVittie 2014-09-17 18:51:53 +01:00
parent 21162d7de6
commit 267c69ac90

View file

@ -25,7 +25,10 @@
#ifndef DBUS_SYSDEPS_H
#define DBUS_SYSDEPS_H
#ifndef VERSION
#warning Please include config.h before dbus-sysdeps.h
#include "config.h"
#endif
#ifdef HAVE_STDINT_H
#include <stdint.h>