File: 0008-fix-ftbfs-kfreebsd-amd64

package info (click to toggle)
mini-httpd 1.30-14
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,568 kB
  • sloc: ansic: 3,634; sh: 156; makefile: 109
file content (25 lines) | stat: -rw-r--r-- 627 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
From: Mattia Rizzolo <mattia@debian.org>
Date: Fri, 12 Jul 2019 01:06:21 +0000
Subject: fix FTBFS in kfreebsd-amd64 where int64_t is already declared,
 but HAVE_INT64T is not defined

Bug-Debian: https://bugs.debian.org/825713
Last-Update: 2016-06-17
Forwarded: yes
---
 mini_httpd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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