···854854])
855855856856if test x$have_filemonitor != xno ; then
857857- AC_CHECK_FUNCS(inotify_init1 inotify_add_watch inotify_rm_watch,
857857+ AC_CHECK_FUNCS(inotify_init inotify_add_watch inotify_rm_watch,
858858 [], [have_filemonitor=no])
859859 if test x$have_filemonitor != xno ; then
860860 AC_DEFINE(USE_INOTIFY,1,[ Define if want to use inotify for filesystem monitoring (available in Linux only). ])
861861+ AC_CHECK_FUNCS_ONCE(inotify_init1)
861862 AC_CHECK_HEADERS(sys/inotify.h)
862863 MUTT_LIB_OBJECTS="$MUTT_LIB_OBJECTS monitor.o"
863864 fi
···11/*
22- * Copyright (C) 2018 Gero Treuer <gero@70t.de>
22+ * Copyright (C) 2018 Gero Treuner <gero@70t.de>
33 *
44 * This program is free software; you can redistribute it and/or modify
55 * it under the terms of the GNU General Public License as published by