#endif
}
#else
-#define my_readdir readdir
+
+/* ReliantUNIX (OS formerly known as SINIX) defines readdir
+ * in LFS-mode to be a 64-bit version of readdir. */
+
+# ifdef sinix
+static Direntry_t * my_readdir(DIR*);
+
+static Direntry_t *
+my_readdir(DIR *d)
+{
+ return readdir(d);
+}
+# else
+
+# define my_readdir readdir
+
+# endif
+
#endif
#ifdef MACOS_TRADITIONAL