summaryrefslogtreecommitdiff
path: root/graphics/pgplot/files/patch-pgdispd_updatelgtitle.c
blob: 2beaa711566933727e0f168c91c2e3112b3571fb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- pgdispd/updatelgtitle.c.orig	2020-08-31 12:24:15 UTC
+++ pgdispd/updatelgtitle.c
@@ -14,6 +14,7 @@
 #include "figdisp.h"
 #include "globals.h"
 #include <X11/Xlib.h>
+#include <stdio.h>
 #include <string.h>
 
 void updatelgtitle(x,y)
@@ -27,7 +28,7 @@ int x,y;	/* cursor position */
 	XImage *image;
 	int i;
 
-#ifndef _AIX
+#if !defined(_AIX) && !defined(__FreeBSD__)
 	char *sprintf();
 #endif