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:
parent
faf725fe15
commit
126e447121
@ -33,6 +33,10 @@
|
||||
* 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
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user