summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 04:58:28 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-01 04:58:28 +0200
commit3a1fcf98b094840ea71abce92ec72328453dd733 (patch)
tree54d1103a208a3e053a2649bf5f9884f9afa32403
parent62e83851acefebd69a2ebf4e1963660537d2152c (diff)
downloadfastd-3a1fcf98b094840ea71abce92ec72328453dd733.tar
fastd-3a1fcf98b094840ea71abce92ec72328453dd733.zip
Add missing includes that didn't throw errors with clang
-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) {