summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/hunt/hunt/hunt.c5
-rw-r--r--games/hunt/huntd/server.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/games/hunt/hunt/hunt.c b/games/hunt/hunt/hunt.c
index 46934da605e..fa5e50209d3 100644
--- a/games/hunt/hunt/hunt.c
+++ b/games/hunt/hunt/hunt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hunt.c,v 1.5 1999/03/14 02:07:30 pjanzen Exp $ */
+/* $OpenBSD: hunt.c,v 1.6 1999/05/30 02:47:13 pjanzen Exp $ */
/* $NetBSD: hunt.c,v 1.8 1998/09/13 15:27:28 hubertf Exp $ */
/*
* Hunt
@@ -28,6 +28,9 @@
#include "display.h"
#include "client.h"
+#ifndef __GNUC__
+#define __attribute__(x)
+#endif
FLAG Am_monitor = FALSE;
int Socket;
diff --git a/games/hunt/huntd/server.h b/games/hunt/huntd/server.h
index 9731d08da2a..05cb98c680b 100644
--- a/games/hunt/huntd/server.h
+++ b/games/hunt/huntd/server.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.h,v 1.2 1999/02/01 06:53:56 d Exp $ */
+/* $OpenBSD: server.h,v 1.3 1999/05/30 02:47:13 pjanzen Exp $ */
/* $NetBSD: hunt.h,v 1.5 1998/09/13 15:27:28 hubertf Exp $ */
/*
@@ -10,6 +10,10 @@
#include <stdio.h>
#include <sys/socket.h>
+#ifndef __GNUC__
+#define __attribute__(x)
+#endif
+
/*
* Choose MAXPL and MAXMON carefully. The screen is assumed to be
* 23 lines high and will only tolerate (MAXPL == 17 && MAXMON == 0)