blob: c2965c40df450769c9e6f72305b35eefa7b05510 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001From ecbdea7bd8b08205f1bc3f6b72d4b4a80f313fcb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 10 Jun 2017 01:03:17 -0700
4Subject: [PATCH 3/6] correct include directive path for config.h
5
6when building out of source tree, it can not find
7the generated config.h otherwise
8
9Upstream-Status: Pending
10
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 memcheck/tests/linux/syscalls-2007.c | 2 +-
14 memcheck/tests/linux/syslog-syscall.c | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/memcheck/tests/linux/syscalls-2007.c b/memcheck/tests/linux/syscalls-2007.c
18index b61c6d5..cc3fd62 100644
19--- a/memcheck/tests/linux/syscalls-2007.c
20+++ b/memcheck/tests/linux/syscalls-2007.c
21@@ -10,7 +10,7 @@
22
23 #define _GNU_SOURCE
24
25-#include "../../config.h"
26+#include "config.h"
27 #include <fcntl.h>
28 #include <signal.h>
29 #include <stdint.h>
30diff --git a/memcheck/tests/linux/syslog-syscall.c b/memcheck/tests/linux/syslog-syscall.c
31index 1143722..21e758b 100644
32--- a/memcheck/tests/linux/syslog-syscall.c
33+++ b/memcheck/tests/linux/syslog-syscall.c
34@@ -6,7 +6,7 @@
35 * klogctl().
36 */
37
38-#include "../../config.h"
39+#include "config.h"
40 #include <stdio.h>
41 #if defined(HAVE_SYS_KLOG_H)
42 #include <sys/klog.h>
43--
442.13.1
45