# HG changeset patch # User Michael Spacefalcon # Date 1412026516 0 # Node ID 7ddec309313de78ac9c1b04bcce741ceff9b82bc # Parent 461ab5b255f5e837cb67fb8aa2cfb893840665e7 alr_pch.c compiles diff -r 461ab5b255f5 -r 7ddec309313d gsm-fw/g23m-gsm/alr/Makefile --- a/gsm-fw/g23m-gsm/alr/Makefile Mon Sep 29 19:57:11 2014 +0000 +++ b/gsm-fw/g23m-gsm/alr/Makefile Mon Sep 29 21:35:16 2014 +0000 @@ -5,7 +5,8 @@ CPPFLAGS=-I. -I../../include -I../../include/condat -I../../gpf/inc \ -I../../cdginc -OBJS= alr_cbch.o alr_cs.o alr_csf.o alr_dedi.o alr_em.o alr_main.o alr_nc.o +OBJS= alr_cbch.o alr_cs.o alr_csf.o alr_dedi.o alr_em.o alr_main.o alr_nc.o \ + alr_pch.o all: ${OBJS} diff -r 461ab5b255f5 -r 7ddec309313d gsm-fw/g23m-gsm/alr/alr_pch.c --- 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;