in the configuration of my C project I've specified a custom include path which points to headers of OpenSSL. The problem that it is still the system headers from /usr/include which are used in the project and not the ones from my include path.
On this screenshot I've pressend F3 on a constant declared in pkcs7.h but as you can see on the top of the windows, Eclipse opened the file in /usr/share and not the one from my custom path:
Did you specify the include path /usr/include/openssl in your Makefile or in the toolchain settings of Eclipse (you did no mention how you build your project)? It looks like you are using /usr/include/openssl for the compilation and Eclipse will scan your build output and add the path.
Is the include folder in your workspace a link to the system files?