diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-12 00:28:05 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-08-12 00:28:05 +0000 |
commit | 5ab279640f9b6510d7a1687b4ebf34fbfa141e28 (patch) | |
tree | 40391b5bc80d43cde5dfb24da71a2e84600b7037 /games/bzflag/files/patch-LinuxMedia.cxx | |
parent | No need to remove lib/X11/config, it's a standard directory. (diff) |
Add bzflag, a multiplayer 3D tank battle game.
Notes
Notes:
svn path=/head/; revision=31546
Diffstat (limited to 'games/bzflag/files/patch-LinuxMedia.cxx')
-rw-r--r-- | games/bzflag/files/patch-LinuxMedia.cxx | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/games/bzflag/files/patch-LinuxMedia.cxx b/games/bzflag/files/patch-LinuxMedia.cxx new file mode 100644 index 000000000000..a4ca66dfa338 --- /dev/null +++ b/games/bzflag/files/patch-LinuxMedia.cxx @@ -0,0 +1,27 @@ +--- src/platform/LinuxMedia.cxx.orig Sat Aug 12 00:50:20 2000 ++++ src/platform/LinuxMedia.cxx Sat Aug 12 00:53:05 2000 +@@ -13,9 +13,13 @@ + #include "LinuxMedia.h" + #include <math.h> + #include <fcntl.h> ++#include <sys/param.h> ++#if !defined(BSD) + #include <endian.h> ++#else ++#include <machine/endian.h> ++#endif + #include <sys/time.h> +-#include <sys/types.h> + #include <unistd.h> + #include <sys/wait.h> + #include <signal.h> +@@ -23,6 +27,9 @@ + #include <sys/ioctl.h> + #include <TimeKeeper.h> + #include <errno.h> ++#if defined(BSD) ++#include <string.h> ++#endif + + #ifdef HALF_RATE_AUDIO + static const int defaultAudioRate=11025; |