summaryrefslogtreecommitdiff
path: root/misc/starplot/patches/patch-src_gui_starplot.cc
blob: bc82dd8c1e1d506c961640ac0d536e777ec4a0ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-src_gui_starplot.cc,v 1.1 2022/04/25 14:40:13 tnn Exp $

avoid ambiguous math functions

--- src/gui/starplot.cc.orig	2008-04-10 19:18:48.000000000 +0000
+++ src/gui/starplot.cc
@@ -28,6 +28,8 @@
 #include "starplot.h"
 #include "starplot.xpm"
 
+using std::pow;
+
 #define FLIP(boolean) ((boolean) = !(boolean))
 
 // initialize globals