diff options
author | Bert Münnich <ber.t@posteo.de> | 2017-10-16 21:10:35 +0200 |
---|---|---|
committer | Bert Münnich <ber.t@posteo.de> | 2017-10-16 21:10:35 +0200 |
commit | 148026007cae3b97d39d2cfee7562c139eb486b2 (patch) | |
tree | 7cc8f8ffaaf7e34756b8550593f3e4999fd6490c /autoreload_inotify.c | |
parent | 4af189e7d9851f56a5d42a1d42658e8e47320f90 (diff) | |
download | nsxiv-148026007cae3b97d39d2cfee7562c139eb486b2.tar.zst |
One header file for type definitions and function declarations
Diffstat (limited to 'autoreload_inotify.c')
-rw-r--r-- | autoreload_inotify.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/autoreload_inotify.c b/autoreload_inotify.c index 77dfa83..de9cdf8 100644 --- a/autoreload_inotify.c +++ b/autoreload_inotify.c @@ -16,15 +16,14 @@ * along with sxiv. If not, see <http://www.gnu.org/licenses/>. */ +#include "sxiv.h" + #include <errno.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <sys/inotify.h> -#include "util.h" -#include "autoreload.h" - void arl_init(arl_t *arl) { arl->fd = inotify_init1(IN_CLOEXEC | IN_NONBLOCK); |