mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 02:40:11 +01:00
util/fossilize_db: add ifdef for inotify header
FOZ_DB_UTIL_DYNAMIC_LIST is defined if the inotify header was
detected.
Fixes: 3b69b67545 ("util/fossilize_db: add runtime RO foz db loading via FOZ_DBS_DYNAMIC_LIST")
Signed-off-by: Juston Li <justonli@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20865>
This commit is contained in:
parent
65a917cb6e
commit
f18702250f
1 changed files with 4 additions and 1 deletions
|
|
@ -37,11 +37,14 @@
|
|||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/file.h>
|
||||
#include <sys/inotify.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#ifdef FOZ_DB_UTIL_DYNAMIC_LIST
|
||||
#include <sys/inotify.h>
|
||||
#endif
|
||||
|
||||
#include "util/u_debug.h"
|
||||
|
||||
#include "crc32.h"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue