summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vhook/drawtext.c5
-rw-r--r--vhook/imlib2.c7
2 files changed, 8 insertions, 4 deletions
diff --git a/vhook/drawtext.c b/vhook/drawtext.c
index df87198757..432541342b 100644
--- a/vhook/drawtext.c
+++ b/vhook/drawtext.c
@@ -43,17 +43,18 @@
#define MAXSIZE_TEXT 1024
+#include "framehook.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
+#undef time
#include <sys/time.h>
#include <time.h>
-#include "framehook.h"
-
#include <ft2build.h>
#include FT_FREETYPE_H
#include FT_GLYPH_H
diff --git a/vhook/imlib2.c b/vhook/imlib2.c
index d569c808d6..4e890e14e7 100644
--- a/vhook/imlib2.c
+++ b/vhook/imlib2.c
@@ -42,18 +42,21 @@
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+
+#include "framehook.h"
+
#include <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
+#undef time
#include <sys/time.h>
+#include <time.h>
#include <X11/Xlib.h>
#include <Imlib2.h>
-#include "framehook.h"
-
typedef struct {
int dummy;
Imlib_Font fn;