mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
broadway: Add configure checks for sys/mman.h
This commit is contained in:
parent
0451d2c9b8
commit
b20d949470
@ -700,6 +700,9 @@ LIBS=$gtk_save_LIBS
|
||||
AC_CHECK_HEADERS(pwd.h,
|
||||
AC_DEFINE(HAVE_PWD_H, 1,
|
||||
[Define to 1 if pwd.h is available]))
|
||||
AC_CHECK_HEADERS(sys/mman.h,
|
||||
AC_DEFINE(HAVE_SYS_MMAN_H, 1,
|
||||
[Define to 1 if time.h is available]))
|
||||
AC_CHECK_HEADERS(sys/time.h,
|
||||
AC_DEFINE(HAVE_SYS_TIME_H, 1,
|
||||
[Define to 1 if time.h is available]))
|
||||
|
@ -1,3 +1,5 @@
|
||||
#include "config.h"
|
||||
|
||||
#include "broadway-server.h"
|
||||
|
||||
#include "broadway-output.h"
|
||||
@ -12,7 +14,9 @@
|
||||
#include <errno.h>
|
||||
#include <unistd.h>
|
||||
#include <crypt.h>
|
||||
#ifdef HAVE_SYS_MMAN_H
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <sys/types.h>
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include "config.h"
|
||||
#include <string.h>
|
||||
#ifdef HAVE_SYS_MMAN_H
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
|
@ -1,4 +1,8 @@
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_SYS_MMAN_H
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user