From fd9fcf741e6660a1344dafd33956fcdc64fdc643 Mon Sep 17 00:00:00 2001 From: Anna Arad <4895022+annagrram@users.noreply.github.com> Date: Fri, 27 Dec 2019 19:02:20 +0100 Subject: Get nnn compile and run on Haiku (#403) * Add support for Haiku OS * Adjust DISTFILES and dist rule in haiku --- misc/haiku/haiku_interop.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 misc/haiku/haiku_interop.h (limited to 'misc/haiku/haiku_interop.h') diff --git a/misc/haiku/haiku_interop.h b/misc/haiku/haiku_interop.h new file mode 100644 index 0000000..b422412 --- /dev/null +++ b/misc/haiku/haiku_interop.h @@ -0,0 +1,14 @@ +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct haiku_nm_t *haiku_nm_h; +haiku_nm_h haiku_init_nm(); +void haiku_close_nm(haiku_nm_h hnd); +int haiku_watch_dir(haiku_nm_h hnd, const char *path); +int haiku_stop_watch(haiku_nm_h hnd); +int haiku_is_update_needed(haiku_nm_h hnd); + +#ifdef __cplusplus +} +#endif -- cgit v1.2.3-70-g09d2