From d09a2301a3265d0c7ede411ec8be45c11afaae94 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Tue, 25 Dec 2007 00:39:46 +0000
Subject: [PATCH] Add HAS_INTTYPES_H

---
 src/doors/top/GNUmakefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/doors/top/GNUmakefile b/src/doors/top/GNUmakefile
index dfc03823c7..3fdfc8c866 100644
--- a/src/doors/top/GNUmakefile
+++ b/src/doors/top/GNUmakefile
@@ -8,6 +8,10 @@ ifeq ($(OS),NetBSD)
   CCFLAGS	+=	-D__unix__
 endif
 
+ifeq ($(shell if [ -f /usr/include/inttypes.h ] ; then echo YES ; fi),YES)
+ CCFLAGS	+=	-DHAS_INTTYPES_H
+endif
+
 OBJDIR	:= obj.$(OS)/
 
 vpath %.c ../../xpdev
-- 
GitLab