summaryrefslogtreecommitdiffstats
path: root/phantasia/include.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-05-27 17:44:38 +0000
committerdholland <dholland@NetBSD.org>2009-05-27 17:44:38 +0000
commit1108b046f041c0bf0be042f6fd91eb2b7dae7af1 (patch)
treee788191dcb8d68ff4b62903e2b5aedd007bbce4b /phantasia/include.h
parentbf84fce58d5914864c13639d82650dfa8e886018 (diff)
downloadbsdgames-darwin-1108b046f041c0bf0be042f6fd91eb2b7dae7af1.tar.gz
bsdgames-darwin-1108b046f041c0bf0be042f6fd91eb2b7dae7af1.tar.zst
bsdgames-darwin-1108b046f041c0bf0be042f6fd91eb2b7dae7af1.zip
Rearrange where the alternate definition of __dead goes.
It can't be before "include.h" as that includes a bunch of system headers, but it can't be after either as it also includes a bunch of local headers. Therefore, it needs to be *in* include.h.
Diffstat (limited to 'phantasia/include.h')
-rw-r--r--phantasia/include.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/phantasia/include.h b/phantasia/include.h
index e54c5c49..a765363b 100644
--- a/phantasia/include.h
+++ b/phantasia/include.h
@@ -1,4 +1,4 @@
-/* $NetBSD: include.h,v 1.5 2004/04/07 17:46:47 ross Exp $ */
+/* $NetBSD: include.h,v 1.6 2009/05/27 17:44:38 dholland Exp $ */
/*
* include.h - includes all important files for Phantasia
@@ -15,6 +15,10 @@
#include <time.h>
#include <unistd.h>
+#ifndef __dead /* Not NetBSD */
+#define __dead
+#endif
+
#include "macros.h"
#include "phantdefs.h"
#include "phantstruct.h"