summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--obinsectd.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f6b68a8..d6cb1a0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := 0.03
+VERSION := 0.05
LDFLAGS=$(shell pkg-config --libs json-c) $(shell pkg-config --libs libmosquitto)
CFLAGS=-Wall $(shell pkg-config --cflags json-c) $(shell pkg-config --cflags libmosquitto) -DVERSION='"$(VERSION)"' -DWITH_TLS
diff --git a/obinsectd.c b/obinsectd.c
index 909110d..856d25c 100644
--- a/obinsectd.c
+++ b/obinsectd.c
@@ -24,6 +24,7 @@
#include <errno.h>
#include <getopt.h>
#include <fcntl.h>
+#include <inttypes.>
#include <json.h>
#include <limits.h>
#include <mosquitto.h>
@@ -32,7 +33,6 @@
#include <stdbool.h>
#include <stdlib.h>
#include <stdio.h>
-#include <stdint.h>
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>