[asterisk-commits] russell: trunk r262896 - /trunk/main/stdtime/localtime.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu May 13 10:35:34 CDT 2010


Author: russell
Date: Thu May 13 10:35:30 2010
New Revision: 262896

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=262896
Log:
Fix build on linux.

Modified:
    trunk/main/stdtime/localtime.c

Modified: trunk/main/stdtime/localtime.c
URL: http://svnview.digium.com/svn/asterisk/trunk/main/stdtime/localtime.c?view=diff&rev=262896&r1=262895&r2=262896
==============================================================================
--- trunk/main/stdtime/localtime.c (original)
+++ trunk/main/stdtime/localtime.c Thu May 13 10:35:30 2010
@@ -54,7 +54,7 @@
 #include <float.h>
 #ifdef HAVE_INOTIFY
 #include <sys/inotify.h>
-#elif HAVE_KQUEUE
+#elif defined(HAVE_KQUEUE)
 #include <sys/types.h>
 #include <sys/time.h>
 #include <sys/event.h>
@@ -335,7 +335,7 @@
 		);
 	}
 }
-#elif HAVE_KQUEUE
+#elif defined(HAVE_KQUEUE)
 static int queue_fd = -1;
 
 static void *kqueue_daemon(void *data)




More information about the asterisk-commits mailing list