Commit 267c69ac authored by Simon McVittie's avatar Simon McVittie

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=83115Reviewed-by: Ralf Habacker's avatarRalf Habacker <ralf.habacker@freenet.de>
parent 21162d7d
......@@ -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>
......
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