Skip to content

Commit

Permalink
processor_calyptia: fix includes for windows
Browse files Browse the repository at this point in the history
Signed-off-by: Thiago Padilha <[email protected]>
  • Loading branch information
tarruda committed Sep 2, 2024
1 parent fe69b05 commit 7d708e7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
10 changes: 4 additions & 6 deletions plugins/processor_calyptia/calyptia.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,3 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

#include <cmetrics/cmt_decode_prometheus.h>
#include <ctraces/ctr_encode_opentelemetry.h>
#include <fluent-bit/flb_filter.h>
#include <fluent-bit/flb_lib.h>
#include <fluent-bit/flb_lua.h>
Expand All @@ -24,6 +18,10 @@
#include "calyptia_traces.h"
#include "cfl_to_lua.h"

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

static void calyptia_config_destroy(struct calyptia_context *ctx)
{
if (!ctx) {
Expand Down
1 change: 0 additions & 1 deletion plugins/processor_calyptia/calyptia_logs_to_lua.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <math.h>

#include <lua.h>
#include <cmetrics/cmt_metric.h>
Expand Down
3 changes: 2 additions & 1 deletion plugins/processor_calyptia/calyptia_metrics_to_lua.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#include <math.h>

#include <lua.h>
#include <cmetrics/cmt_metric.h>
Expand All @@ -9,6 +8,8 @@
#include <cmetrics/cmt_histogram.h>
#include <cmetrics/cmt_untyped.h>

#include <math.h>

#include "calyptia_metrics_to_lua.h"
#include "cfl_to_lua.h"

Expand Down

0 comments on commit 7d708e7

Please sign in to comment.