Bug 3663 - Fix compilation on OpenBSD
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Platform
Version: GIT MASTER
Hardware: PC OpenBSD
: P3 normal
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2008-05-25 01:58 EDT by Jonathan Gray
Modified: 2008-05-25 06:01:03 EDT
0 users

See Also:


Attachments
patch that reorders includes to fix compilation on OpenBSD (426 bytes, patch)
2008-05-25 02:00 EDT, Jonathan Gray

Description Jonathan Gray 2008-05-25 01:58:25 EDT
sys/socket.h must be included before net/if.h on OpenBSD, if.h uses AF_MAX
which is defined in sys/socket.h.
Comment 1 Jonathan Gray 2008-05-25 02:00:16 EDT
Created attachment 1770 [details]
patch that reorders includes to fix compilation on OpenBSD
Comment 2 Ludwig Nussel 2008-05-25 06:01:03 EDT
applied in r1346, thanks