# HG changeset patch # User Dave Love # Date 961770500 0 # Node ID 691fe247f01820b8eb7b76103a91bcf057419a4b # Parent 8dcca357af53abd7b51a1aa7e7720c021c9ee3c5 Don't include sys/types.h unconditionally. Don't protect its inclusion with !USG (following xmenu.c). diff -r 8dcca357af53 -r 691fe247f018 src/xterm.c --- a/src/xterm.c Fri Jun 23 13:59:33 2000 +0000 +++ b/src/xterm.c Fri Jun 23 14:28:20 2000 +0000 @@ -44,13 +44,11 @@ #include "xterm.h" #include -#ifndef USG /* Load sys/types.h if not already loaded. In some systems loading it twice is suicidal. */ #ifndef makedev #include #endif /* makedev */ -#endif /* USG */ #ifdef BSD_SYSTEM #include @@ -94,7 +92,6 @@ #include #endif -#include #ifdef HAVE_SYS_TIME_H #include #endif @@ -11114,6 +11111,7 @@ #ifdef HAVE_X11R6 destroy.callback = xim_destroy_callback; destroy.client_data = (XPointer)dpyinfo; + /* This isn't prptotyped in OSF 5.0. */ XSetIMValues (xim, XNDestroyCallback, &destroy, NULL); #endif }