‘stdio.h’ file not found, but I have this file at /usr/include/stdio.h

When I compile a package, I got the following error:

In file included from /usr/local/Cellar/postgresql/11.3/include/server/postgres.h:46: /usr/local/Cellar/postgresql/11.3/include/server/c.h:59:10: fatal error: 'stdio.h' file not found 

When I search this error online, all the online problems are not having header files at /usr/include/. But when I check the directory, it has many header files

$   ls -l /usr/include/stdio.h -r--r--r--  1 root  wheel  16319 Jan 22  2018 /usr/include/stdio.h  $   ls -l /usr/include/ | wc -l      266 

So, what can I do in my case?

Thanks a lot.