compile error centos 6.8 x64

then mv -f “.deps/check_tping-getopt.Tpo” “.deps/check_tping-getopt.Po”; else rm -f “.deps/check_tping-getopt.Tpo”; exit 1; fi
getopt.c:45:22: error: ansidecl.h: No such file or directory
make[2]: *** [check_tping-getopt.o] Error 1
make[2]: Leaving directory `/usr/lib/nagios/plugins/old/check_tping-0.1.1/src’
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/lib/nagios/plugins/old/check_tping-0.1.1′
make: *** [all] Error 2