1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/graphics/gplot/files/patch-gtex.c
Martin Wilke 801fb2ec4c - Unbreak
- Fix build with gcc 4.2

PR:		113774
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2007-06-20 14:18:39 +00:00

17 lines
408 B
C

--- gtex.c.orig Thu Jul 18 02:22:03 1991
+++ gtex.c Sat Jun 16 01:11:02 2007
@@ -4,10 +4,12 @@
#include <stdio.h>
#include <ctype.h>
#include <math.h>
+#include <stdlib.h>
+#include <string.h>
double atan(); /* not in some math.h */
#include "defs.h"
#define version_str "4.23"
-char *allocate_mem(), *realloc();
+char *allocate_mem();
/* GPLOT style globals */
static struct info_struct dev_info;