summaryrefslogtreecommitdiffstats
path: root/recipes-networking/openvswitch/openvswitch-git/0002-Define-WAIT_ANY-if-not-provided-by-system.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-networking/openvswitch/openvswitch-git/0002-Define-WAIT_ANY-if-not-provided-by-system.patch')
-rw-r--r--recipes-networking/openvswitch/openvswitch-git/0002-Define-WAIT_ANY-if-not-provided-by-system.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/recipes-networking/openvswitch/openvswitch-git/0002-Define-WAIT_ANY-if-not-provided-by-system.patch b/recipes-networking/openvswitch/openvswitch-git/0002-Define-WAIT_ANY-if-not-provided-by-system.patch
deleted file mode 100644
index f997bbff..00000000
--- a/recipes-networking/openvswitch/openvswitch-git/0002-Define-WAIT_ANY-if-not-provided-by-system.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From 801023e72b31e7c49cbccedd76ade33a17fcbe45 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 Mar 2017 12:13:30 -0700
4Subject: [PATCH] Define WAIT_ANY if not provided by system
5
6POSIX does not define it and uses -1 directly
7some libc do not have this definitions
8
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11---
12 tests/test-ovn.c | 4 ++++
13 1 file changed, 4 insertions(+)
14
15diff --git a/tests/test-ovn.c b/tests/test-ovn.c
16index 84adf81..2bc6bdf 100644
17--- a/tests/test-ovn.c
18+++ b/tests/test-ovn.c
19@@ -38,6 +38,10 @@
20 #include "simap.h"
21 #include "util.h"
22
23+#ifndef WAIT_ANY
24+# define WAIT_ANY (-1) /* Any process. */
25+#endif
26+
27 /* --relops: Bitmap of the relational operators to test, in exhaustive test. */
28 static unsigned int test_relops;
29