ports/mail/xpbiff/files/patch-LocPixmap.c
Adriaan de Groot 43caac30c5 Fix build of mail/xpbiff after libXt update.
An implicit include has gone away (Intrinsic.h) so users of X11/StringDefs.h
now need to explictly include X11/Intrinsic.h to get the typedef for
String, otherwise many of the macro's like this one:

#define XtRString ((String)&XtStrings[1797])

will fall over.
2019-07-03 20:27:37 +00:00

10 lines
290 B
C

--- LocPixmap.c.orig 2019-07-03 20:23:26 UTC
+++ LocPixmap.c
@@ -30,6 +30,7 @@
#include <X11/Xlib.h>
#include <X11/Xresource.h>
#include <X11/Xutil.h>
+#include <X11/Intrinsic.h>
#include <X11/StringDefs.h>
#include <sys/param.h> /* get MAXPATHLEN if possible */
#ifndef MAXPATHLEN