projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixing bug report 3021598 by modifying "glutSetWindow" under Windows so that it only...
[freeglut]
/
src
/
freeglut_input_devices.c
diff --git
a/src/freeglut_input_devices.c
b/src/freeglut_input_devices.c
index
0dcb97f
..
04f5fd5
100755
(executable)
--- a/
src/freeglut_input_devices.c
+++ b/
src/freeglut_input_devices.c
@@
-36,19
+36,15
@@
#include "freeglut_internal.h"
#if TARGET_HOST_POSIX_X11
#include "freeglut_internal.h"
#if TARGET_HOST_POSIX_X11
-#if HAVE_ERRNO_H
+#ifdef HAVE_ERRNO_H
#include <errno.h>
#endif
#include <sys/ioctl.h>
#include <errno.h>
#endif
#include <sys/ioctl.h>
-#include <sys/time.h>
-#include <time.h>
#include <stdio.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdlib.h>
-#include <unistd.h>
#include <string.h>
#include <termios.h>
#include <fcntl.h>
#include <string.h>
#include <termios.h>
#include <fcntl.h>
-#include <sys/types.h>
typedef struct {
int fd;
typedef struct {
int fd;