add missing declaration of old_x11

This commit is contained in:
Holger Vogt 2017-10-05 12:47:16 +02:00
parent 7de3334cc1
commit 7690b64571
2 changed files with 6 additions and 0 deletions

View File

@ -36,6 +36,10 @@ extern bool old_x11;
extern int X11_GetLenStr(GRAPH *gr, char* instring);
#endif
#ifndef X_DISPLAY_MISSING
extern bool old_x11;
#endif
#define RAD_TO_DEG (180.0 / M_PI)
#define RELPOSXUNIT 0.6 /* old position of the UNIT label */

View File

@ -60,6 +60,8 @@ Author: 1988 Jeffrey M. Hsu
#define NUMCOLORS 20
bool old_x11 = FALSE; /* if FALSE, use xft, if TRUE use old X11 text output */
typedef struct x11info {
Window window;
int isopen;