Add runtime handlers for 97900ebf for FreeBSD/DragonFlyBSD
[fio.git] / os / os.h
diff --git a/os/os.h b/os/os.h
index 4178e6f916f42831ce05bb0d0626b75f763e3c36..5e3c813d8fb5b5f726d650c172aedde94f84f21d 100644 (file)
--- a/os/os.h
+++ b/os/os.h
@@ -386,4 +386,11 @@ static inline int gettid(void)
 }
 #endif
 
+#ifndef FIO_HAVE_SHM_ATTACH_REMOVED
+static inline int shm_attach_to_open_removed(void)
+{
+       return 0;
+}
+#endif
+
 #endif