summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dyballa <Peter_Dyballa@Freenet.DE>2007-09-24 14:13:39 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2007-09-24 14:13:39 -0700
commit5c043a1cec89e884593f541f59b8abd237d91e50 (patch)
treef94e8eb9faf6c4a5b6707106d55cbe0db5e632cd
parent91088ab94b28877ca85151c1d1cf241f8e775555 (diff)
Bug #12534: nlist() needs to be handled differently in Mac OS X
X.Org Bugzilla #12534 <https://bugs.freedesktop.org/show_bug.cgi?id=12534> Patch #11704 <https://bugs.freedesktop.org/attachment.cgi?id=11704>
-rw-r--r--get_load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/get_load.c b/get_load.c
index 1a6a365..8143577 100644
--- a/get_load.c
+++ b/get_load.c
@@ -928,7 +928,7 @@ void InitLoadPoint()
nl[i].n_value = (int)nl[i].n_value - v.v_kvoffset;
}
#else /* not macII */
-#if !defined(SVR4) && !defined(sgi) && !defined(MOTOROLA) && !defined(AIXV5) && !(BSD >= 199103)
+#if !defined(SVR4) && !defined(sgi) && !defined(MOTOROLA) && !defined(AIXV5) && !(BSD >= 199103) && !defined(__APPLE__)
extern void nlist();
#endif