https://sourceware.org/bugzilla/show_bug.cgi?id=31320

--- Comment #4 from Bryan Hundven <bryanhundven at gmail dot com> ---
My previous patch did not work. This one does:

```
diff --git a/gold/output.cc b/gold/output.cc
index ead67f20..2dbaa2ee 100644
--- a/gold/output.cc
+++ b/gold/output.cc
@@ -29,7 +29,9 @@
 #include <unistd.h>
 #include <sys/stat.h>
 #include <algorithm>
+#if !defined(__APPLE__)
 #include <uchar.h>
+#endif

 #ifdef HAVE_SYS_MMAN_H
 #include <sys/mman.h>
diff --git a/gold/stringpool.cc b/gold/stringpool.cc
index d8f38cfa..eca59bad 100644
--- a/gold/stringpool.cc
+++ b/gold/stringpool.cc
@@ -25,7 +25,9 @@
 #include <cstring>
 #include <algorithm>
 #include <vector>
+#if !defined(__APPLE__)
 #include <uchar.h>
+#endif

 #include "output.h"
 #include "parameters.h"
```

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Reply via email to