diff --git a/scripts/checks.m4 b/scripts/checks.m4 index 64dedd4e..9c6981b1 100644 --- a/scripts/checks.m4 +++ b/scripts/checks.m4 @@ -499,7 +499,7 @@ AC_DEFUN([TORRENT_WITH_INOTIFY], [ AC_COMPILE_IFELSE([AC_LANG_SOURCE([ #include - 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)],