diff --git a/src/motif/font.cpp b/src/motif/font.cpp index 0af197f78d..e63de3bf42 100644 --- a/src/motif/font.cpp +++ b/src/motif/font.cpp @@ -21,6 +21,8 @@ #pragma implementation "font.h" #endif +#include "wx/defs.h" + #ifdef __VMS #pragma message disable nosimpint #include "wx/vms_x_fix.h" @@ -30,7 +32,6 @@ #pragma message enable nosimpint #endif -#include "wx/defs.h" #include "wx/string.h" #include "wx/font.h" #include "wx/gdicmn.h" diff --git a/src/motif/msgdlg.cpp b/src/motif/msgdlg.cpp index ca78e9a53c..caf660584d 100644 --- a/src/motif/msgdlg.cpp +++ b/src/motif/msgdlg.cpp @@ -21,6 +21,8 @@ // headers // ---------------------------------------------------------------------------- +#include "wx/defs.h" + #ifdef __VMS #define XtDisplay XTDISPLAY #pragma message disable nosimpint