mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-28 16:30:26 +01:00
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:
parent
21162d7de6
commit
267c69ac90
1 changed files with 3 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue