summaryrefslogtreecommitdiff
path: root/debian/patches/fix-ftbfs-kfreebsd-amd64
blob: 863cd67296f1c42f366a24678ce1d17f37e8815b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: fix FTBFS in kfreebsd-amd64 where int64_t is already declared, but HAVE_INT64T is not defined
Author: Mattia Rizzolo <mattia@debian.org>
Bug-Debian: htts://bugs.debian.org/825713
Last-Update: 2016-06-17
Forwarded: no

--- 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