mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-04 09:28:04 +02:00
Fix dbus-sysdeps.h on amd64, again.
HAVE_STDINT_H is defined in config.h, but that's not much use if config.h isn't included. The new file dbus/dbus-config.c includes this header without including config.h first, so fails to build. Since dbus-sysdeps.h is internal, we can include config.h with impunity, rather than relying on our callers to do so. Also, there's no need to include stdint.h twice.
This commit is contained in:
parent
6f9077ee87
commit
d9f9c2518d
1 changed files with 2 additions and 4 deletions
|
|
@ -25,6 +25,8 @@
|
|||
#ifndef DBUS_SYSDEPS_H
|
||||
#define DBUS_SYSDEPS_H
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
|
@ -39,10 +41,6 @@
|
|||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
#ifdef HAVE_STDINT_H
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
|
||||
/* AIX sys/poll.h does #define events reqevents, and other
|
||||
* wonderousness, so must include sys/poll before declaring
|
||||
* DBusPollFD
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue