mirror of
https://git.code.sf.net/p/quake/quakeforge-old
synced 2024-11-25 05:11:23 +00:00
A couple of FreeBSD fixes from Darius
This commit is contained in:
parent
d0674e837c
commit
768b167927
2 changed files with 8 additions and 1 deletions
3
AUTHORS
3
AUTHORS
|
@ -20,13 +20,14 @@ QW/Q1 tree merging:
|
|||
Joseph Carter <knghtbrd@debian.org>
|
||||
Peter Andreasen <pandr@pandr.dk>
|
||||
|
||||
Autoconf support:
|
||||
Autoconf support and portability isues:
|
||||
Loring Holden <lsh@cs.brown.edu>
|
||||
Joseph Carter <knghtbrd@debian.org>
|
||||
Bill Currie <bill@taniwha.org>
|
||||
Cesar Eduardo Barros <cesarb@web4u.com.br>
|
||||
Marcus Sundberg <mackan@stacken.kth.se>
|
||||
Peter Andreasen <pandr@pandr.dk>
|
||||
Daniel J. O'Connor <darius@dons.net.au>
|
||||
|
||||
Sound cleanups:
|
||||
Ryan C. Gordon <ryan_gordon@hotmail.com>
|
||||
|
|
|
@ -32,6 +32,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#ifdef _WIN32
|
||||
#include "winsock.h"
|
||||
#else
|
||||
#include <sys/types.h>
|
||||
#include <netinet/in.h>
|
||||
#endif
|
||||
|
||||
|
@ -39,6 +40,11 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|||
#undef model_t
|
||||
#endif
|
||||
|
||||
#ifdef __FreeBSD__
|
||||
#if !defined (__FreeBSD_version) || (__FreeBSD_version < 300000)
|
||||
#define INADDR_LOOPBACK (u_int32_t)0x7f000001
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// we need to declare some mouse variables here, because the menu system
|
||||
// references them even when on a unix system.
|
||||
|
|
Loading…
Reference in a new issue