Index: indi-1.9.9+dfsg/libs/indicore/shm_open_anon.c
===================================================================
--- indi-1.9.9+dfsg.orig/libs/indicore/shm_open_anon.c
+++ indi-1.9.9+dfsg/libs/indicore/shm_open_anon.c
@@ -57,6 +57,10 @@
 #define IMPL_POSIX
 #endif
 
+#ifdef __GNU__
+#define IMPL_POSIX
+#endif
+
 #ifdef __OpenBSD__
 #define IMPL_SHM_MKSTEMP
 #endif
