Index: trunk/Ohana/src/opihi/lib.shell/gprint.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/gprint.c	(revision 27435)
+++ trunk/Ohana/src/opihi/lib.shell/gprint.c	(revision 27592)
@@ -351,5 +351,5 @@
 
   // there are two strerror_r implementations; choose the right one:
-#if ((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE)
+#if (((_POSIX_C_SOURCE >= 200112L || _XOPEN_SOURCE >= 600) && ! _GNU_SOURCE) || __APPLE__)
   strerror_r (myError, errorBuf, MAX_ERROR_LENGTH);
   errorMsg = errorBuf;
