I am using NIOS II EDS 9.1 to generate a sample project from template.

I am able to build sample project.

Then i added below include file.

#include <stdint.h>

int main ()
uint32_t test;

I am getting below error and warnings:

error : `uint32_t' undeclared (first use in this function)

warning: stdint.h: No such file or directory

I have verified that stdint.h is present in system generated includes folder in "C:\altera\91\quartus\bin\cygwin\usr\include "

How to resolve this problem