summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattia Rizzolo <mattia@debian.org>2018-12-12 05:19:14 +0000
committerDmitry Bogatov <KAction@debian.org>2018-12-12 05:19:14 +0000
commit8fcfd33df20a30465c7dc17f53d4be6d4d759493 (patch)
tree8b30f0330b1cb0386b6c2b52b544bc2d31fa32b7
parentce28de6dfc7e9734685617d855af655a6400d94c (diff)
fix FTBFS in kfreebsd-amd64 where int64_t is already declared, but HAVE_INT64T is not defined
Bug-Debian: htts://bugs.debian.org/825713 Last-Update: 2016-06-17 Forwarded: no Gbp-Pq: Name fix-ftbfs-kfreebsd-amd64
-rw-r--r--mini_httpd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mini_httpd.c b/mini_httpd.c
index ef06d36..762ca6c 100644
--- a/mini_httpd.c
+++ b/mini_httpd.c
@@ -100,7 +100,7 @@
#define SIZE_T_MAX 2147483647L
#endif
-#ifndef HAVE_INT64T
+#if !defined(_INT64_T_DECLARED) && !defined(HAVE_INT64T)
typedef long long int64_t;
#endif