If you are using the compiler by hand in the command line, you can set the CPATH env variable to point to the include directory... (/opt/local/include)
Even if the system headers should be included by default if I'm not mistaken. On Wed, 19 Dec 2018, 09:33 Christoph Kukulies <[email protected] wrote: > Does it require a special package to be installed when one wants to > develop under cc or gcc in macOS? > > I was writing a little C program starting with > > #include <sys/types.h> > > and the compiler doesn’t find anything (what I would be normally under > /usr/include > > — > Christoph > >
