forked from mirrors/gecko-dev
Bug 1844285 [Solaris] Include sys/ioccom.h if it's available for dmabuf operations r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D182440
This commit is contained in:
parent
7a64e09ef6
commit
e204eaaee1
2 changed files with 8 additions and 0 deletions
|
|
@ -1522,6 +1522,11 @@ with only_when(compile_environment & depends(target.os)(lambda os: os != "WINNT"
|
|||
set_define("HAVE_ARC4RANDOM_BUF", check_symbol("arc4random_buf"))
|
||||
set_define("HAVE_MALLINFO", check_symbol("mallinfo"))
|
||||
|
||||
# Checks for headers
|
||||
# ==============================================================
|
||||
with only_when(compile_environment & depends(target.os)(lambda os: os != "WINNT")):
|
||||
set_define("HAVE_SYSIOCCOM_H", check_header("sys/ioccom.h"))
|
||||
|
||||
# Elfhack
|
||||
# ==============================================================
|
||||
with only_when("--enable-compile-environment"):
|
||||
|
|
|
|||
|
|
@ -27,6 +27,9 @@
|
|||
# include <sys/eventfd.h>
|
||||
#endif
|
||||
#include <poll.h>
|
||||
#ifdef HAVE_SYSIOCCOM_H
|
||||
# include <sys/ioccom.h>
|
||||
#endif
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
#include "mozilla/widget/gbm.h"
|
||||
|
|
|
|||
Loading…
Reference in a new issue