Added Thierry's change to include sys/param.h. This lets us pick out version

numbers for OS releases corresponding to system headers.

I modified it to also work with NetBSD; I cannot confirm if it is safe with
any other systems, so it remains protected by a #if.


git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@262 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
rkrolib 2003-10-29 17:29:10 +00:00
parent faf725fe15
commit 126e447121

View File

@ -33,6 +33,10 @@
* FreeBSD port - courtesy of Stephen Montgomery-Smith <stephen@math.missouri.edu> * FreeBSD port - courtesy of Stephen Montgomery-Smith <stephen@math.missouri.edu>
*/ */
#if defined(__FreeBSD__) || defined(__NetBSD__)
#include <sys/param.h>
#endif
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
#include "config.h" #include "config.h"
#endif #endif