changeset 766:d10585d665b4

sms_tls.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 12 Oct 2014 00:23:43 +0000
parents 75595941b786
children 77ab12ccdec1
files gsm-fw/g23m-gsm/sms/Makefile gsm-fw/g23m-gsm/sms/sms_tls.c
diffstat 2 files changed, 9 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/sms/Makefile	Sun Oct 12 00:19:57 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/Makefile	Sun Oct 12 00:23:43 2014 +0000
@@ -6,7 +6,7 @@
 	-I../../cdginc
 
 OBJS=	sms_cp.o sms_csf.o sms_em.o sms_for.o sms_pei.o sms_rl.o sms_time.o \
-	sms_tlf.o sms_tlp.o
+	sms_tlf.o sms_tlp.o sms_tls.o
 
 all:	${OBJS}
 
--- a/gsm-fw/g23m-gsm/sms/sms_tls.c	Sun Oct 12 00:19:57 2014 +0000
+++ b/gsm-fw/g23m-gsm/sms/sms_tls.c	Sun Oct 12 00:23:43 2014 +0000
@@ -22,6 +22,10 @@
 #ifndef SMS_TLS_C
 #define SMS_TLS_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_SMS
 
 /*==== INCLUDES ===================================================*/
@@ -821,14 +825,14 @@
                memcpy (&mnsms_OTA_message_ind->tp_ud, &sms_deliver->tp_ud, sizeof(T_tp_ud));
                mnsms_OTA_message_ind->tp_dcs = sms_deliver->tp_dcs ; 
                mnsms_OTA_message_ind->tp_pid = sms_deliver->tp_pid; 
-#ifdef TI_PS_HCOMM_CHANGE
+  #ifdef TI_PS_HCOMM_CHANGE
                PSEND (_hCommMMI, mnsms_OTA_message_ind);
-#else
+  #else
                PSEND (hCommMMI, mnsms_OTA_message_ind);
-#endif
+  #endif
                break;
              }
- #else 
+#else 
       break;
 #endif
         case SMS_PID_ME_DOWNLOAD: