summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/fastd.h1
-rw-r--r--src/printf.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/fastd.h b/src/fastd.h
index e9d30a0..8a14f11 100644
--- a/src/fastd.h
+++ b/src/fastd.h
@@ -34,6 +34,7 @@
#include <linux/if_ether.h>
#include <netinet/in.h>
#include <stdbool.h>
+#include <stddef.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/src/printf.c b/src/printf.c
index ea2e08e..53298bf 100644
--- a/src/printf.c
+++ b/src/printf.c
@@ -28,6 +28,7 @@
#include "peer.h"
#include <arpa/inet.h>
+#include <stdarg.h>
static void print_peer_str(const fastd_context *ctx, const fastd_peer *peer) {