Skip to content

Commit

Permalink
Fix regression: Missing "disable-output-buffering" option since meson…
Browse files Browse the repository at this point in the history
… builds

The Meson build system was missing the `disable-output-buffering` option, which is available in the Make system. This commit adds the `disable-output-buffering` option to the Meson build.
  • Loading branch information
malwarectigouvfr authored and Victorien Blanchard committed Nov 21, 2024
1 parent 5cb453d commit 4b2338a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/plugins/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,10 @@ if get_option('plugin-windowmon')
config_h.set('ENABLE_PLUGIN_WINDOWMON', 1)
endif

if get_option('disable-output-buffering')
config_h.set('DISABLE_OUTPUT_BUFFERING', 1)
endif

summary({
'syscalls': get_option('plugin-syscalls'),
'poolmon': get_option('plugin-poolmon'),
Expand Down
4 changes: 4 additions & 0 deletions src/plugins/output_format/ostream.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@
#define PLUGINS_OUTPUT_FORMAT_OSTREAM_H
#pragma once

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif /* HAVE_CONFIG_H */

#include <iostream>

namespace fmt
Expand Down

0 comments on commit 4b2338a

Please sign in to comment.