blob: 0feae5e72c9f87093761f643e2b3efa85ecae540 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$NetBSD: patch-aq,v 1.3 2000/12/05 11:15:42 wulf Exp $
--- src/rrd_tool.h.orig Thu Sep 14 15:34:00 2000
+++ src/rrd_tool.h Tue Dec 5 20:46:24 2000
@@ -14,6 +14,11 @@
#ifndef _RRD_TOOL_H
#define _RRD_TOOL_H
+/*
+ * gd.h needs to be called before math.h to avoid -Wshadow warnings
+ */
+#include <gd.h>
+
#ifdef WIN32
# include "ntconfig.h"
#else
@@ -125,7 +130,6 @@
int PngSize(FILE *, long *, long *);
int PngSize(FILE *, long *, long *);
-#include <gd.h>
void gdImagePng(gdImagePtr im, FILE *out);
int rrd_create_fn(char *file_name, rrd_t *rrd);
|