From afe49bde02561147a583c32dd87eb08fc4b66cd1 Mon Sep 17 00:00:00 2001 From: John Tsiombikas Date: Tue, 2 Dec 2014 05:22:12 +0000 Subject: [PATCH] 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 --- src/x11/fg_joystick_x11.c | 2 ++ 1 file changed, 2 insertions(+) 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 -- 1.7.10.4