spnda / fastgltf

A modern C++17 glTF 2.0 library focused on speed, correctness, and usability
https://fastgltf.readthedocs.io/v0.8.x/
MIT License
312 stars 48 forks source link

Added include to fix compilation in Docker (Alpine) #76

Closed christophe-f8 closed 1 month ago

christophe-f8 commented 1 month ago

I was trying to compile fastgltf into an Alpine Docker container (based on ghcr.io/osgeo/gdal:alpine-small-latest to be exact) but it would complain it couldn't find definitions for O_RDWR and open.

After including fcntl.h the compilation worked.