]> git.sesse.net Git - vlc/commitdiff
* modules/control/gestures.c: compilation fix.
authorGildas Bazin <gbazin@videolan.org>
Thu, 9 Sep 2004 14:02:24 +0000 (14:02 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 9 Sep 2004 14:02:24 +0000 (14:02 +0000)
modules/control/gestures.c

index 0fd5c1fdc7112ea096b09deeaa0e878be705638b..eb4afd10e1f8524304dad26ba00167e5f57e8ed0 100644 (file)
  *****************************************************************************/
 #include <stdlib.h>                                      /* malloc(), free() */
 #include <string.h>
-#include <unistd.h>
 
 #include <vlc/vlc.h>
 #include <vlc/intf.h>
 #include <vlc/vout.h>
 
+#ifdef HAVE_UNISTD_H
+#    include <unistd.h>
+#endif
+
 /*****************************************************************************
  * intf_sys_t: description and status of interface
  *****************************************************************************/