I tried "Explicitly add currently compiling file's directly to compiler search dirs" and "Explicitly add project's top level directory to compiler search dirs" separately and together each time followed by a "Rebuild workspace". It still can't find it.
Buil log:
-------------- Clean: Release in rap00 ---------------
Cleaned "rap00 - Release"
-------------- Build: Release in rap00 ---------------
gcc-3.exe -Wall -O2 -IC:/cygwin/usr/include/tirpc -IC:/cygwin/usr/include -c C:/cygwin/home/eb/rap00/main.c -o obj/Release/main.o
C:/cygwin/home/eb/rap00/main.c: In function `main':
C:/cygwin/home/eb/rap00/main.c:50: error: `sockaddr_in' undeclared (first use in this function)
C:/cygwin/home/eb/rap00/main.c:50: error: (Each undeclared identifier is reported only once
C:/cygwin/home/eb/rap00/main.c:50: error: for each function it appears in.)
C:/cygwin/home/eb/rap00/main.c:50: error: `addr' undeclared (first use in this function)
C:/cygwin/home/eb/rap00/main.c:53: warning: implicit declaration of function `inet_pton'
Process terminated with status 1 (0 minutes, 0 seconds)
4 errors, 1 warnings