diff --git a/Fltk/drawContextFltk.h b/Fltk/drawContextFltk.h index c3d4f21734840e8884073149e2e45164f19f8086..420030c118739f997871122e88eb654448f2899e 100644 --- a/Fltk/drawContextFltk.h +++ b/Fltk/drawContextFltk.h @@ -6,6 +6,12 @@ #ifndef _DRAW_CONTEXT_FLTK_H_ #define _DRAW_CONTEXT_FLTK_H_ +#include "GmshConfig.h" +#if !defined(HAVE_NO_STDINT_H) +#include <stdint.h> +#elif defined(HAVE_NO_INTPTR_T) +typedef unsigned long intptr_t; +#endif #include <FL/x.H> #include <FL/gl.h> #include "FlGui.h"