fileName.c:
#if defined(SYSV) || defined(SVR4) || defined(QNX)
#include <dirent.h>
#else
#include <sys/dir.h>
#endif

fileName.c:
#if defined(SYSV) || defined(SVR4) || defined (QNX)
	struct dirent	*e;
#else
	struct direct	*e;
#endif 

graphic.c:
#ifdef QNX
// missing prototypes
extern void SetIconImage(Widget w, Boolean flag);
#endif 

hash.c:
#if QNX  /* was 0 */
#include <malloc.h>
#else				  
extern void free(void *);
extern void *malloc(unsigned int);
#endif  

imageComp.c:					 
#ifdef QNX					 
// missing prototypes
extern void StateTimeStep(void);
#endif					

iprocess.c:					 
#ifdef QNX					 
// missing prototypes
extern void StateTimeStep(void);
#endif					

selectOp.c:

#ifdef QNX
// missing prototypes
extern void OperationSelectCallAcross(int );
#endif 

sprayOp.c: 
Fixes a problem with the spray can causing the app to go to la-la
land
#ifndef QNX
# define USE_DRAND
#endif
xpaint.h:55:#ifndef QNX
Fixes problem of new canvas crash
#ifndef QNX
typedef	void		*(*OperationFunc)(Widget, ...);
#else
typedef	void		*(*OperationFunc)();
#endif

