mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-08 05:38:01 +02:00
Fix inotify usage for QNX
QNX's copy of sys/inotify.h is broken, and doesn't include stdint.h even though it refers to types from it. Therefore, it must be included manually. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=61176 Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
This commit is contained in:
parent
16e69337a5
commit
0484cf1a3c
1 changed files with 4 additions and 0 deletions
|
|
@ -22,11 +22,15 @@
|
|||
*
|
||||
*/
|
||||
|
||||
/* Be careful, this file is not Linux-only: QNX also uses it */
|
||||
|
||||
#include <config.h>
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
/* QNX's inotify is broken, and requires stdint.h to be manually included first */
|
||||
#include <stdint.h>
|
||||
#include <sys/inotify.h>
|
||||
#include <sys/types.h>
|
||||
#include <signal.h>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue