summaryrefslogtreecommitdiff
path: root/src/meson.build
diff options
context:
space:
mode:
authorJannis Hoffmann <jannis@fehcom.de>2024-07-13 19:19:27 +0200
committerJannis Hoffmann <jannis@fehcom.de>2024-07-13 19:19:27 +0200
commit25708a111e0127aa86611f8a513cb67ae70b2123 (patch)
tree332f5748072063f2dec890bcad9b9fe61ef6e88b /src/meson.build
parent9091c472ee621c035a87d4eb9121dc26d912f7b2 (diff)
add missing fifo file
Diffstat (limited to 'src/meson.build')
-rw-r--r--src/meson.build4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/meson.build b/src/meson.build
index c3593f4..5df7840 100644
--- a/src/meson.build
+++ b/src/meson.build
@@ -35,6 +35,7 @@ other_srcs = files(
'case.c',
'env.c',
'fd.c',
+ 'fifo.c',
'getln.c',
'getoptb.c',
'lock.c',
@@ -64,6 +65,9 @@ qlibs_c_args = []
if cc.has_header_symbol('sys/file.h', 'flock')
qlibs_c_args += '-DHASFLOCK'
endif
+if cc.has_header_symbol('sys/stat.h', 'mkfifo')
+ qlibs_c_args += '-DHASMKFIFO'
+endif
qlibs_lib = library(
'qlibs',