File:  [cvs.NetBSD.org] / pkgsrc / graphics / geeqie / patches / Attic / patch-src_pan-view_pan-util.cc
Revision 1.2: download - view: text, annotated - select for diffs
Sun Mar 17 15:22:11 2024 UTC (7 months, 2 weeks ago) by wiz
Branches: MAIN
CVS tags: pkgsrc-2024Q1-base, pkgsrc-2024Q1, HEAD
geeqie: add upstream bug report URLs

$NetBSD: patch-src_pan-view_pan-util.cc,v 1.2 2024/03/17 15:22:11 wiz Exp $

Restrict Linux-specific header to Linux.
(already fixed upstream, differently)

--- src/pan-view/pan-util.cc.orig	2024-03-17 13:53:55.384404282 +0000
+++ src/pan-view/pan-util.cc
@@ -21,7 +21,9 @@
 
 #include "pan-util.h"
 
+#ifdef __linux__
 #include <features.h>
+#endif
 #include <sys/stat.h>
 #include <unistd.h>
 

CVSweb <webmaster@jp.NetBSD.org>