diff gsm-fw/g23m-gsm/alr/alr_pch.c @ 682:7ddec309313d

alr_pch.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 29 Sep 2014 21:35:16 +0000
parents 2f7df7a314f8
children
line wrap: on
line diff
--- a/gsm-fw/g23m-gsm/alr/alr_pch.c	Mon Sep 29 19:57:11 2014 +0000
+++ b/gsm-fw/g23m-gsm/alr/alr_pch.c	Mon Sep 29 21:35:16 2014 +0000
@@ -21,6 +21,10 @@
 #ifndef ALR_PCH_C
 #define ALR_PCH_C
 
+#include "config.h"
+#include "fixedconf.h"
+#include "condat-features.h"
+
 #define ENTITY_PL
 
 /*==== INCLUDES ===================================================*/
@@ -351,8 +355,6 @@
 }
 
 
-
-
 /*
 +--------------------------------------------------------------------+
 | PROJECT : GSM-PS (6103)       MODULE  : ALR_PCH                    |
@@ -828,7 +830,7 @@
   ULONG  tmsi;
   UBYTE  i;
   UBYTE  channel_needed;
-     
+
   /*
    * Check only if IMSI available (len NEQ 0) and
    * ti and pd = 0x06 and
@@ -862,7 +864,7 @@
      */
     if(pch_tmsi_type(TMSI_TYPE_2, frame, channel_needed))
       return;
-   #ifdef GPRS
+#ifdef GPRS
     if(GET_STATE(STATE_MA) NEQ MA_CON_EST)
     {
       tmsi = 0L;