- 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:
Jamie Wilkinson 2003-02-11 05:43:36 +00:00
parent 0dda5022d2
commit 489425e6b4

View file

@ -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"