diff --git a/cde/programs/dtudcfonted/cpyx.c b/cde/programs/dtudcfonted/cpyx.c index 93ae38251..45411a6c5 100644 --- a/cde/programs/dtudcfonted/cpyx.c +++ b/cde/programs/dtudcfonted/cpyx.c @@ -38,6 +38,7 @@ #include #include #include +#include #include @@ -54,12 +55,7 @@ extern XtPointer _XmStringUngenerate (XmString string, #include "selectxlfd.h" #include "xoakufont.h" -#include "xpm.h" -#ifdef XPM #define ReadXpm XpmCreatePixmapFromData -#else -#define ReadXpm _DtXpmCreatePixmapFromData -#endif #include "pixmaps/arrow.pm" static Widget CreateCopyXLFD(Widget Top); diff --git a/cde/programs/dtudcfonted/util.c b/cde/programs/dtudcfonted/util.c index 33e9eab5b..fb175edac 100644 --- a/cde/programs/dtudcfonted/util.c +++ b/cde/programs/dtudcfonted/util.c @@ -34,6 +34,7 @@ #include #include +#include #include #include #include @@ -51,7 +52,6 @@ void _unmap( Widget w, XtPointer closure, XtPointer call_data); extern Resource resource ; -#include "xpm.h" #include "pixmaps/Pencil.pm" #include "pixmaps/Line.pm" #include "pixmaps/Rectangle.pm" @@ -59,11 +59,7 @@ extern Resource resource ; #include "pixmaps/Eraser.pm" #include "pixmaps/SelectArea.pm" -#ifdef XPM #define ReadXpm XpmCreatePixmapFromData -#else -#define ReadXpm _DtXpmCreatePixmapFromData -#endif #define NUMPIX 6 #include "pixmaps/arrow.pm"