$OpenBSD: patch-plugin_xlib_gvdevice_xlib_c,v 1.1 2007/02/20 11:47:07 espie Exp $ --- plugin/xlib/gvdevice_xlib.c.orig2 Tue Feb 20 12:08:22 2007 +++ plugin/xlib/gvdevice_xlib.c Tue Feb 20 12:09:06 2007 @@ -493,11 +493,13 @@ static void finalize_xlib(GVJ_t *firstjo bool watching_p = FALSE; static char *dir; char *p, *cwd = NULL; +#endif dpy = (Display *)(firstjob->display); scr = firstjob->screen; keycodes = firstjob->keycodes; +#ifdef HAVE_SYS_INOTIFY_H inotify_fd = inotify_init(); if (inotify_fd < 0) { fprintf(stderr,"inotify_init() failed\n");