aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjørn Mork <bjorn@mork.no>2021-10-13 13:06:43 +0200
committerBjørn Mork <bjorn@mork.no>2021-10-13 13:06:43 +0200
commitac99afe6549a7a590bb547fef309f0056db67f04 (patch)
tree3de66f76c0365e5c273db6e1929824640574209e
parentf6a83c1cf35dec2b098c7464186470be498b7aea (diff)
another attempt to fix __uintxx_tv0.05
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-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>