mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-25 00:13:24 +00:00
Add some #define magic for SOL_IP on BSD-based stacks.
This commit is contained in:
parent
8de4db0e2d
commit
c376ac1ebd
2 changed files with 12 additions and 0 deletions
|
@ -70,6 +70,12 @@
|
|||
|
||||
#include "qw/protocol.h"
|
||||
|
||||
#ifdef HAVE_IN_PKTINFO
|
||||
# ifndef SOL_IP // BSD-based stacks don't define this.
|
||||
# define SOL_IP IPPROTO_IP
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static void __attribute__ ((format (printf, 1, 2)))
|
||||
ma_log (const char *fmt, ...);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue