summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--examples/c-collectd/c-collectd.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 30080f6be..0aaacce49 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -175,7 +175,7 @@ jobs:
run: |
sudo systemctl daemon-reload
sudo systemctl enable ndpid@lo
- sudo systemctl start ndpid@lo
+ sudo systemctl --wait start ndpid@lo
sudo systemctl status ndpisrvd.service ndpid@lo.service
sudo systemctl show ndpisrvd.service ndpid@lo.service -p SubState,ActiveState
- name: Build against libnDPI-${{ matrix.ndpi_min_version }}
diff --git a/examples/c-collectd/c-collectd.c b/examples/c-collectd/c-collectd.c
index 7ab62e919..30e8da553 100644
--- a/examples/c-collectd/c-collectd.c
+++ b/examples/c-collectd/c-collectd.c
@@ -1,6 +1,7 @@
#include <arpa/inet.h>
#include <errno.h>
#include <signal.h>
+#include <stdbool.h> // ndpi_typedefs.h
#include <stdio.h>
#include <stdlib.h>
#include <string.h>