Describe the bug
When building file.cpp on OpenMandriva you get the error:
/usr/include/zlib.h:34:4: error: Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat API
The fix is to move
#ifndef WIN32
#include <zlib.h>
#endif
to the top of file.cpp
- OS and Version: OpenMandriva ROME
Describe the bug
When building file.cpp on OpenMandriva you get the error:
/usr/include/zlib.h:34:4: error: Include zlib-ng.h for zlib-ng API or zlib.h for zlib-compat APIThe fix is to move
to the top of file.cpp