[chronojump] Fix chronopic-tests build
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fix chronopic-tests build
- Date: Mon, 14 Oct 2013 11:26:58 +0000 (UTC)
commit cdc310c6fa4ebbb422b9b4d803429a3ec27febdb
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Mon Oct 14 12:03:35 2013 +0200
Fix chronopic-tests build
Makefile.am | 6 +++---
chronopic-tests/chronopic.c | 2 ++
2 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index ef56bcb..1c3b852 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -5,9 +5,9 @@ ACLOCAL_AMFLAGS = -I m4
SUBDIRS = chronopic-firmware \
encoder libcesarplayer CesarPlayer src po manual chronojump_server #rdotnet
-#if OSTYPE_LINUX
-#SUBDIRS += chronopic-tests chronojump_server
-#endif
+if OSTYPE_LINUX
+SUBDIRS += chronopic-tests chronojump_server
+endif
if OSTYPE_WINDOWS
win32-installer:
diff --git a/chronopic-tests/chronopic.c b/chronopic-tests/chronopic.c
index e1c9468..e08a4da 100644
--- a/chronopic-tests/chronopic.c
+++ b/chronopic-tests/chronopic.c
@@ -24,6 +24,8 @@
$Revision: 1.1 $
$Source: /cvsroot/chronojump/chronopic/test/chronopic.c,v $
--------------------------------------------------------------------------*/
+#include <sys/time.h>
+#include <sys/types.h>
#include <stdio.h>
#include <termios.h>
#include <unistd.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]