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 |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/cde/programs/dtpad/fileCB.c b/cde/programs/dtpad/fileCB.c
index a5706d9..189189b 100644
--- a/cde/programs/dtpad/fileCB.c
+++ b/cde/programs/dtpad/fileCB.c
@@ -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 */
-- 
1.7.9.2


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to