From: John Tsiombikas Date: Tue, 2 Dec 2014 05:22:12 +0000 (+0000) Subject: include standard UNIX header fcntl.h in fg_joystick_x11.c, since fcntl() is called... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=afe49bde02561147a583c32dd87eb08fc4b66cd1;p=freeglut include standard UNIX header fcntl.h in fg_joystick_x11.c, since fcntl() is called conditionally in there (bug #192). git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1730 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/src/x11/fg_joystick_x11.c b/src/x11/fg_joystick_x11.c index 17dc2c3..a37388b 100644 --- a/src/x11/fg_joystick_x11.c +++ b/src/x11/fg_joystick_x11.c @@ -39,6 +39,8 @@ # include #endif +#include + /*this should be defined in a header file */ #define MAX_NUM_JOYSTICKS 2