aboutsummaryrefslogtreecommitdiff
path: root/databases/fastdb/files/patch-sync.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'databases/fastdb/files/patch-sync.cpp')
-rw-r--r--databases/fastdb/files/patch-sync.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/fastdb/files/patch-sync.cpp b/databases/fastdb/files/patch-sync.cpp
new file mode 100644
index 000000000000..2416fb7edc8e
--- /dev/null
+++ b/databases/fastdb/files/patch-sync.cpp
@@ -0,0 +1,16 @@
+--- sync.cpp.orig Fri Mar 2 17:01:17 2001
++++ sync.cpp Fri Mar 2 17:03:08 2001
+@@ -160,11 +160,11 @@
+ #if defined(__GNU_LIBRARY__) && !defined(_SEM_SEMUN_UNDEFINED)
+ /* union semun is defined by including <sys/sem.h> */
+ #else
+-union semun {
++/*union semun {
+ int val;
+ struct semid_ds* buf;
+ unsigned short* array;
+-};
++};*/
+ #endif
+ static union semun u;
+