openbsd-ports/net/rrdtool/patches/patch-src_rrd_tool_h
2004-06-08 20:21:24 +00:00

30 lines
767 B
Plaintext

$OpenBSD: patch-src_rrd_tool_h,v 1.3 2004/06/08 20:21:24 danh Exp $
--- src/rrd_tool.h.orig 2004-04-06 17:38:15.000000000 -0400
+++ src/rrd_tool.h 2004-06-08 13:09:45.000000000 -0400
@@ -17,6 +17,8 @@ extern "C" {
#ifndef _RRD_TOOL_H
#define _RRD_TOOL_H
+#include <gd.h>
+
#ifdef WIN32
# include "ntconfig.h"
#else
@@ -90,7 +92,7 @@ int isnan(double value);
#endif
/* local include files -- need to be after the system ones */
-#include "getopt.h"
+#include <getopt.h>
#include "rrd_format.h"
#ifndef max
@@ -129,7 +131,6 @@ int GifSize(FILE *, long *, long *);
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);