Unistd.h error when running Makefile

view story

http://www.linuxquestions.org – I am trying to create a version of code in a bigger project that is by itself. I know the code runs in the bigger project and believe my problem is in the makefile. The makefile is trying to create RegEx.o from RegEx.h which includes GSUtils, which includes unistd.h. From here the makefile says that unistd.h is having a problem. Here is the error I receive. Code: In file included from GSCUtils/GSCUtils.h:55,                 from GSCUtils/RegEx.c:64: /usr/include/unistd.h:224: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'typed (HowTos)