include standard UNIX header fcntl.h in fg_joystick_x11.c, since fcntl() is called...
authorJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 2 Dec 2014 05:22:12 +0000 (05:22 +0000)
committerJohn Tsiombikas <nuclear@member.fsf.org>
Tue, 2 Dec 2014 05:22:12 +0000 (05:22 +0000)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1730 7f0cb862-5218-0410-a997-914c9d46530a

src/x11/fg_joystick_x11.c

index 17dc2c3..a37388b 100644 (file)
@@ -39,6 +39,8 @@
 #    include <sys/param.h>
 #endif
 
+#include <fcntl.h>
+
 
 /*this should be defined in a header file */
 #define MAX_NUM_JOYSTICKS  2