changeset 840:60a08fe672d8

gdi: rtc.c compiles
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 25 Apr 2015 19:33:05 +0000
parents 5ab66dadefdd
children 3efeaab1aea5
files gsm-fw/g23m-glue/gdi/Makefile gsm-fw/g23m-glue/gdi/rtc.c
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-glue/gdi/Makefile	Sat Apr 25 19:29:38 2015 +0000
+++ b/gsm-fw/g23m-glue/gdi/Makefile	Sat Apr 25 19:33:05 2015 +0000
@@ -6,7 +6,7 @@
 CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \
 	-I../../cdginc
 
-OBJS=	audio.o ffs_coat.o power.o
+OBJS=	audio.o ffs_coat.o power.o rtc.o
 
 all:	libgdi.a
 
--- a/gsm-fw/g23m-glue/gdi/rtc.c	Sat Apr 25 19:29:38 2015 +0000
+++ b/gsm-fw/g23m-glue/gdi/rtc.c	Sat Apr 25 19:33:05 2015 +0000
@@ -26,6 +26,10 @@
 #define ENTITY_CST
 /*==== INCLUDES ===================================================*/
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #include <string.h>
 #include "typedefs.h"
 #include "vsi.h"
@@ -33,7 +37,7 @@
 #include "prim.h"
 #include "gsm.h"
 #include "tok.h"
-#include "cst/cst.h"
+#include "../cst/cst.h"
 #include "gdi.h"
 #include "rtc.h"
 
@@ -41,10 +45,10 @@
 #define _WINDOWS
 #endif
 
-#include "rvf/rvf_api.h"
+#include "../../riviera/rvf/rvf_api.h"
 
 #ifndef _SIMULATION_
-#include "rtc/rtc_api.h"
+#include "../../bsp/rtc/rtc_api.h"
 #endif
 #include "rtcdrv.h"
 /*==== EXPORT =====================================================*/