dtpad: Fix 64-bit crash on file open/save

Fix SIGSEGV because of implicit declaration
of _XmStringUngenerate.

The error message reported to the user was:

TT_ERR_PROCID The process id passed is not valid.
This commit is contained in:
Marcin Cieslak
2012-09-24 03:15:19 +02:00
committed by Jon Trulson
parent d852a8bfa6
commit d089ff7599

View File

@@ -59,6 +59,8 @@
#include <Dt/DtpadM.h>
#include <Dt/Action.h>
#include <Xm/XmPrivate.h> /* _XmStringUngenerate */
#include "dtpad.h"
extern int numActivePads; /* declared in main.c */