dtpad: Fix 64-bit crash on file open/save
authorMarcin Cieslak <saper@saper.info>
Mon, 24 Sep 2012 01:15:19 +0000 (03:15 +0200)
committerJon Trulson <jon@radscan.com>
Mon, 24 Sep 2012 01:45:22 +0000 (19:45 -0600)
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.

cde/programs/dtpad/fileCB.c

index a5706d944213b7d6dc4c131c2f59ffced91067d2..189189b41fc609ef64de53de1442cb8268475eb6 100644 (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 */