glxheader.h

Go to the documentation of this file.
00001 /*
00002  * Mesa 3-D graphics library
00003  * Version:  6.5.1
00004  * 
00005  * Copyright (C) 1999-2006  Brian Paul   All Rights Reserved.
00006  * 
00007  * Permission is hereby granted, free of charge, to any person obtaining a
00008  * copy of this software and associated documentation files (the "Software"),
00009  * to deal in the Software without restriction, including without limitation
00010  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
00011  * and/or sell copies of the Software, and to permit persons to whom the
00012  * Software is furnished to do so, subject to the following conditions:
00013  * 
00014  * The above copyright notice and this permission notice shall be included
00015  * in all copies or substantial portions of the Software.
00016  * 
00017  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
00018  * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
00019  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
00020  * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
00021  * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
00022  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
00023  */
00024 
00025 
00026 #ifndef GLX_HEADER_H
00027 #define GLX_HEADER_H
00028 
00029 #ifdef __VMS
00030 #include <GL/vms_x_fix.h>
00031 #endif
00032 
00033 #include "glheader.h"
00034 
00035 #ifdef XFree86Server
00036 
00037 # include "resource.h"
00038 # include "windowstr.h"
00039 
00040 #else
00041 
00042 # include <X11/Xlib.h>
00043 # include <X11/Xlibint.h>
00044 # include <X11/Xutil.h>
00045 # ifdef USE_XSHM  /* was SHM */
00046 #  include <sys/ipc.h>
00047 #  include <sys/shm.h>
00048 #  include <X11/extensions/XShm.h>
00049 # endif
00050 # include <GL/glx.h>
00051 # include <sys/time.h>
00052 
00053 #endif
00054 
00055 
00056 
00057 /* this silences a compiler warning on several systems */
00058 struct timespec;
00059 struct itimerspec;
00060 
00061 
00062 #endif /*GLX_HEADER*/

Generated on Tue Sep 29 06:25:17 2009 for Gallium3D by  doxygen 1.5.4