summaryrefslogtreecommitdiff
blob: 4a6b23661e47079c749d1041075ab4127378ba8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
https://bugs.gentoo.org/465426

--- motif-2.3.4-orig/lib/Xm/Xmos_r.h
+++ motif-2.3.4/lib/Xm/Xmos_r.h
@@ -602,7 +602,7 @@
 # endif
 } _Xreaddirparams;
 
-# if defined(AIXV3) || defined(AIXV4) || defined(_POSIX_THREAD_SAFE_FUNCTIONS)
+# if defined(AIXV3) || defined(AIXV4) || defined(HAVE_READDIR_R_3) || defined(_POSIX_THREAD_SAFE_FUNCTIONS)
 /* AIX defines the draft POSIX symbol, but uses the final API. */
 /* POSIX final API, returns (int)0 on success. */
 #  if defined(__osf__)