void-packages/srcpkgs/libgdal/patches/missing-include.patch

13 lines
394 B
Diff

Index: gdal-3.0.4/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp
===================================================================
--- gdal-3.0.4.orig/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp
+++ gdal-3.0.4/ogr/ogrsf_frmts/cad/libopencad/dwg/r2000.cpp
@@ -36,6 +36,7 @@
#include <cassert>
#include <cstring>
#include <iostream>
+#include <limits>
#include <memory>
#include <string>