summaryrefslogtreecommitdiff
path: root/graphics/wayland/files/patch-tests_test-helpers.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/wayland/files/patch-tests_test-helpers.c')
-rw-r--r--graphics/wayland/files/patch-tests_test-helpers.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/graphics/wayland/files/patch-tests_test-helpers.c b/graphics/wayland/files/patch-tests_test-helpers.c
index 8be22e6e9052..1e275db0574a 100644
--- a/graphics/wayland/files/patch-tests_test-helpers.c
+++ b/graphics/wayland/files/patch-tests_test-helpers.c
@@ -1,8 +1,8 @@
---- tests/test-helpers.c.orig 2015-07-06 19:38:51 UTC
+--- tests/test-helpers.c.orig 2018-08-24 18:04:36 UTC
+++ tests/test-helpers.c
-@@ -23,6 +23,12 @@
- * SOFTWARE.
- */
+@@ -25,6 +25,12 @@
+
+ #include "config.h"
+#include "../config.h"
+
@@ -13,7 +13,7 @@
#include <assert.h>
#include <errno.h>
#include <dirent.h>
-@@ -32,6 +38,16 @@
+@@ -40,6 +46,16 @@
#include "test-runner.h"
@@ -30,7 +30,7 @@
int
count_open_fds(void)
{
-@@ -39,8 +55,8 @@ count_open_fds(void)
+@@ -47,8 +63,8 @@ count_open_fds(void)
struct dirent *ent;
int count = 0;
@@ -41,7 +41,7 @@
errno = 0;
while ((ent = readdir(dir))) {
-@@ -49,7 +65,7 @@ count_open_fds(void)
+@@ -57,7 +73,7 @@ count_open_fds(void)
continue;
count++;
}