Skip to content

Won't compile on OpenMandriva ROME due to zlib conflict #829

@saberking

Description

@saberking

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions