include standard UNIX header fcntl.h in fg_joystick_x11.c, since fcntl() is called conditionally in there (bug #192).

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@1730 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
jtsiomb 2014-12-02 05:22:12 +00:00
parent 4fc11e3285
commit 081efa33c4

View 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