aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/hyper/event.c2
-rw-r--r--src/hyper/hyper.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e2526f6d..7cbde11f 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2010-08-01 Aleksej Saushev <asau@inbox.ru>
+
+ * hyper/event.c: Include <sys/types.h> before other system headers.
+ * hyper/hyper.c: Likewise.
+
2010-07-29 Gabriel Dos Reis <gdr@cs.tamu.edu>
* clef/Makefile.in: Build and link programs by a C++ compiler.
diff --git a/src/hyper/event.c b/src/hyper/event.c
index 0ba54a27..3e90e5ad 100644
--- a/src/hyper/event.c
+++ b/src/hyper/event.c
@@ -40,9 +40,9 @@
#include <X11/X.h>
#include <X11/Xatom.h>
#include <X11/cursorfont.h>
+#include <sys/types.h>
#include <sys/signal.h>
#include <setjmp.h>
-#include <sys/types.h>
#include <sys/time.h>
#include "debug.h"
diff --git a/src/hyper/hyper.c b/src/hyper/hyper.c
index 5b22142d..969a9a03 100644
--- a/src/hyper/hyper.c
+++ b/src/hyper/hyper.c
@@ -43,8 +43,8 @@
/* Include all the needed include files */
-#include <sys/signal.h>
#include <sys/types.h>
+#include <sys/signal.h>
#include <sys/wait.h>
#include <setjmp.h>
#include <X11/cursorfont.h>