Index: ev.c
===================================================================
RCS file: /schmorpforge/libev/ev.c,v
retrieving revision 1.195
diff -u -r1.195 ev.c
--- ev.c	22 Dec 2007 11:44:51 -0000	1.195
+++ ev.c	22 Dec 2007 12:39:05 -0000
@@ -284,7 +284,9 @@
 
 /* sig_atomic_t is used to avoid per-thread variables or locking but still */
 /* giving it a reasonably high chance of working on typical architetcures */
+#if EV_USE_MONOTONIC
 static sig_atomic_t have_monotonic; /* did clock_gettime (CLOCK_MONOTONIC) work? */
+#endif
 
 #ifdef _WIN32
 # include "ev_win32.c"
@@ -1119,7 +1121,9 @@
   backend = 0;
 }
 
+#if EV_USE_INOTIFY
 void inline_size infy_fork (EV_P);
+#endif
 
 void inline_size
 loop_fork (EV_P)
