Error using SIM800 and SoftwareSerial

Hello!
I have problem with SIM800 and SoftwareSerial libraries.
When i compile code it give next error message:

In file included from C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.cpp:8:0:
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:30:3: error: 'uint8_t' does not name a type
   uint8_t year; /* year past 2000, e.g. 15 for 2015 */
   ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:31:3: error: 'uint8_t' does not name a type
   uint8_t month;
   ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:32:3: error: 'uint8_t' does not name a type
   uint8_t day;
   ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:33:3: error: 'uint8_t' does not name a type
   uint8_t hour;
   ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:34:3: error: 'uint8_t' does not name a type
   uint8_t minute;
   ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:35:3: error: 'uint8_t' does not name a type
   uint8_t second;
   ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:44:5: error: 'byte' does not name a type
     byte setup(const char* apn);
     ^
C:\Program Files (x86)\Arduino\libraries\SIM800\SIM800.h:61:5: error: 'byte' does not name a type
     byte httpIsConnected();
     ^
...

Codes is here: http://etelaniemi.com/Codes.txt

How i fix it?

Codes is here: http://etelaniemi.com/Codes.txt

That is the wrong place to post your code. Post it HERE. Use Reply, not the Quick Reply field, and use the Additional Options link to attach your code.

Post a link to the library you are using. I see nothing in the messages that you posted to warrant your conclusion that there is a problem with SoftwareSerial. All the messages indicate that the SIM800 library has the problem.

PaulS:
That is the wrong place to post your code. Post it HERE. Use Reply, not the Quick Reply field, and use the Additional Options link to attach your code.

Okay. I place code to my website, because there is message limit(9000 char).

PaulS:
Post a link to the library you are using. I see nothing in the messages that you posted to warrant your conclusion that there is a problem with SoftwareSerial. All the messages indicate that the SIM800 library has the problem.

This is library what i use.
https://github.com/stanleyhuangyc/Freematics/tree/master/libraries/SIM800

If your code is too long you can add it as an attachment.

uint8_t should not cause a problem

...R

Here is my .ino file.

SIM800l.ino (2.3 KB)

I tried your code with the library files in the link in Reply #2 and it compiled without error on IDE 1.5.6

...R