summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2021-07-21 21:27:14 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2021-07-21 21:27:14 +0100
commit8389b943d31ae2aac5d0194536c0ce423e5936bb (patch)
treede22f31b53a3733402f486398a3626cb6b2c53fa
parentf2266d9678d71633d62d70238be3782ea74019c9 (diff)
downloaddnsmasq-2.86test6.tar.gz
Better fix than f2266d9678d71633d62d70238be3782ea74019c9v2.86test6
-rw-r--r--src/dnsmasq.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dnsmasq.h b/src/dnsmasq.h
index 7eb5c34..8674823 100644
--- a/src/dnsmasq.h
+++ b/src/dnsmasq.h
@@ -107,6 +107,7 @@ typedef unsigned long long u64;
#endif
#include <unistd.h>
#include <stdio.h>
+#include <stdint.h>
#include <string.h>
#include <stdlib.h>
#include <fcntl.h>
@@ -166,10 +167,6 @@ extern int capget(cap_user_header_t header, cap_user_data_t data);
#define ADDRSTRLEN INET6_ADDRSTRLEN
-#ifndef UINT32_MAX
-#define UINT32_MAX 0xffffffff
-#endif
-
/* Async event queue */
struct event_desc {
int event, data, msg_sz;