Cleaned up the OpenBSD port, thanks to Peter Valchev

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%4095
This commit is contained in:
Sam Lantinga 2001-07-08 09:00:06 +00:00
parent ea5f242f09
commit acab15a3bd
9 changed files with 153 additions and 90 deletions

View file

@ -49,7 +49,7 @@ typedef struct SDL_SysWMinfo SDL_SysWMinfo;
#else
/* This is the structure for custom window manager events */
#if (defined(unix) || defined(__unix__) || defined(_AIX)) && \
#if (defined(unix) || defined(__unix__) || defined(_AIX) || defined(__OpenBSD__)) && \
(!defined(DISABLE_X11) && !defined(__CYGWIN32__))
/* AIX is unix, of course, but the native compiler CSet doesn't define unix */
#include <X11/Xlib.h>