From 68642df61fcb0d23744ae378aa97361093a01087 Mon Sep 17 00:00:00 2001 From: Dave Love Date: Fri, 23 Jun 2000 14:28:20 +0000 Subject: [PATCH] Don't include sys/types.h unconditionally. Don't protect its inclusion with !USG (following xmenu.c). --- src/xterm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/xterm.c b/src/xterm.c index 7c992eadfde..17aacf03ff7 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -44,13 +44,11 @@ Boston, MA 02111-1307, USA. */ #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 @@ Boston, MA 02111-1307, USA. */ #include #endif -#include #ifdef HAVE_SYS_TIME_H #include #endif @@ -11114,6 +11111,7 @@ xim_open_dpy (dpyinfo, resource_name) #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 } -- 2.39.2