8 #include <X11/Xresource.h>
9 #include <X11/Intrinsic.h> /* needed for xpm.h and Pixel defn */
13 #include "safemalloc.h"
15 /* Convenience function ti init all the graphics subsystems */
16 void flib_init_graphics(Display
*dpy
);
19 * Replacements for missing system calls.
23 int atexit(void(*func
)());
26 #ifndef HAVE_GETHOSTNAME
27 int gethostname(char* name
, int len
);
30 #ifndef HAVE_STRCASECMP
31 int strcasecmp(char* s1
, char* s2
);
34 #ifndef HAVE_STRNCASECMP
35 int strncasecmp(char* s1
, char* s2
, int len
);
39 char* strerror(int errNum
);
43 int usleep(unsigned long usec
);
46 /* Set up heap debugging library dmalloc. */
51 /* Set up mtrace from glibc 2.1.x for x > ? */
52 #ifdef MTRACE_DEBUGGING