Use right function argument for inotify test.

This commit is contained in:
rakshasa
2012-04-12 18:44:42 +09:00
parent d2dd143d2e
commit 90830dc765
+1 -1
View File
@@ -499,7 +499,7 @@ AC_DEFUN([TORRENT_WITH_INOTIFY], [
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#include <sys/inotify.h>
int main(int,const char*) { return (-1 == inotify_init()); }])
int main(int,const char**) { return (-1 == inotify_init()); }])
],[
AC_DEFINE(HAVE_INOTIFY, 1, [sys/inotify.h exists and works correctly])
AC_MSG_RESULT(yes)],