crosstool-ng/patches/glibc/2.22/100-sparc32-sem_open-missing-include.patch
2015-10-15 17:35:18 -07:00

22 lines
590 B
Diff

commit 3f512ca79fda7854da188df0585e71467119206e
Author: Brett Neumeier <brett@neumeier.us>
Date: Mon Aug 31 15:27:21 2015 -0700
Fix non-v9 32-bit sparc build.
[BZ #18870]
* sysdeps/sparc/sparc32/sem_open.c: Add missing #include
diff --git a/sysdeps/sparc/sparc32/sem_open.c b/sysdeps/sparc/sparc32/sem_open.c
index 16cb9ad..59df2d7 100644
--- a/sysdeps/sparc/sparc32/sem_open.c
+++ b/sysdeps/sparc/sparc32/sem_open.c
@@ -29,6 +29,7 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include "semaphoreP.h"
+#include <futex-internal.h>
#include <shm-directory.h>