diff -ur a/include/servermd.h b/include/servermd.h
--- a/include/servermd.h
+++ b/include/servermd.h
@@ -92,7 +92,13 @@
 					/* byte boundries */
 #endif /* hpux || __hppa__ */
 
-#if defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__)
+#if defined(__powerpc64__) && !defined(__BIG_ENDIAN__)
+
+# define IMAGE_BYTE_ORDER	LSBFirst
+# define BITMAP_BIT_ORDER       LSBFirst
+# define GLYPHPADBYTES		4
+
+#elif defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__)
 
 #define IMAGE_BYTE_ORDER        MSBFirst
 #define BITMAP_BIT_ORDER        MSBFirst
