From 7a8e7452a7a00a27e6319d3579561efb6e38ad75 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Sun, 29 Oct 2000 22:35:15 +0000 Subject: Make struct.h idempotent so newer compilers don't bail because the torp struct is being redefined. --- games/xgalaga/files/patch-ad | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 games/xgalaga/files/patch-ad (limited to 'games/xgalaga') diff --git a/games/xgalaga/files/patch-ad b/games/xgalaga/files/patch-ad new file mode 100644 index 000000000000..364d8f777d74 --- /dev/null +++ b/games/xgalaga/files/patch-ad @@ -0,0 +1,15 @@ +--- struct.h.orig Sun Oct 22 00:36:24 2000 ++++ struct.h Sun Oct 22 00:37:03 2000 +@@ -1,3 +1,6 @@ ++#ifndef __struct_h__ ++#define __struct_h__ ++ + #include "Wlib.h" + + struct torp { +@@ -38,3 +41,5 @@ + int count; + W_Image *shape; + }; ++ ++#endif /* __struct_h__ */ -- cgit v1.2.3