Added Thierry's change to include sys/param.h. This lets us pick out version
authorRichard Rauch <rkr@olib.org>
Wed, 29 Oct 2003 17:29:10 +0000 (17:29 +0000)
committerRichard Rauch <rkr@olib.org>
Wed, 29 Oct 2003 17:29:10 +0000 (17:29 +0000)
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: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@262 7f0cb862-5218-0410-a997-914c9d46530a

src/freeglut_joystick.c

index a786b4f..ce26abc 100644 (file)
  * 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