GPS and GSM interface for remote TCp server

I cannot integrate both the codes for ardunio. Not sure what are all the libraries I need to refer.

I am using GSM SIM900A module. Do I need to include SIM900A.h at arduino sketch.

Please suggest.

Thanks-
Pokhraj das