37 lines
928 B
Diff
37 lines
928 B
Diff
|
From 43fac545b135bce981b6837aa6cb111ee853f090 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Hubert=20Figui=C3=A8re?= <hub@figuiere.net>
|
||
|
Date: Thu, 18 Mar 2021 20:51:56 -0400
|
||
|
Subject: [PATCH] Issue #6 - Fix build on gcc 11
|
||
|
|
||
|
- include <limits> where needed
|
||
|
|
||
|
https://gitlab.freedesktop.org/libopenraw/libopenraw/-/issues/6
|
||
|
---
|
||
|
lib/cr2file.cpp | 3 ++-
|
||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/lib/cr2file.cpp b/lib/cr2file.cpp
|
||
|
index e0a2d7e..993a750 100644
|
||
|
--- a/lib/cr2file.cpp
|
||
|
+++ b/lib/cr2file.cpp
|
||
|
@@ -2,7 +2,7 @@
|
||
|
/*
|
||
|
* libopenraw - cr2file.cpp
|
||
|
*
|
||
|
- * Copyright (C) 2006-2020 Hubert Figuière
|
||
|
+ * Copyright (C) 2006-2021 Hubert Figuière
|
||
|
* Copyright (C) 2008 Novell, Inc.
|
||
|
*
|
||
|
* This library is free software: you can redistribute it and/or
|
||
|
@@ -23,6 +23,7 @@
|
||
|
#include <stddef.h>
|
||
|
#include <cstdint>
|
||
|
#include <vector>
|
||
|
+#include <limits>
|
||
|
#include <memory>
|
||
|
|
||
|
#include <libopenraw/cameraids.h>
|
||
|
--
|
||
|
GitLab
|
||
|
|