mirror of
https://git.code.sf.net/p/quake/quake2forge
synced 2025-04-15 05:21:16 +00:00
- Applied a patch from Ulrich for BSD systems
- include pthread.h when trying to use it - Linux and BSD systems use SIGIO instead of SIGPOLL
This commit is contained in:
parent
0dda5022d2
commit
489425e6b4
1 changed files with 9 additions and 0 deletions
|
@ -49,6 +49,7 @@
|
|||
#include <mntent.h>
|
||||
#elif defined(__FreeBSD__) || defined(__bsd__) || defined (__NetBSD__)
|
||||
#include <fstab.h>
|
||||
#include <pthread.h>
|
||||
#elif defined(__sun__)
|
||||
#include <sys/file.h>
|
||||
#endif
|
||||
|
@ -57,6 +58,14 @@
|
|||
# include <dlfcn.h>
|
||||
#endif
|
||||
|
||||
/* This should probably go into configure
|
||||
* BSDs and Linux have SIGIO, Solaris needs SIGPOLL
|
||||
* This should probably be changed the other way round
|
||||
* SIGIO as default and SIGPOLL only for Solrais */
|
||||
#ifndef SIGPOLL
|
||||
#define SIGPOLL SIGIO
|
||||
#endif
|
||||
|
||||
#include "qcommon.h"
|
||||
#include "game.h"
|
||||
#include "rw.h"
|
||||
|
|
Loading…
Reference in a new issue