Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 1 | From 5d32b65af750e2007730f3d55a552a186aed81a6 Mon Sep 17 00:00:00 2001 |
| 2 | From: "Maxin B. John" <maxin.john@intel.com> |
| 3 | Date: Wed, 20 Jan 2016 14:08:29 +0200 |
| 4 | Subject: [PATCH] Fix out of source build |
| 5 | |
| 6 | Since the source directory contains another config.h, the build |
| 7 | directory should be searched first. |
| 8 | |
| 9 | Upstream-Status: Submitted |
| 10 | [https://sourceforge.net/p/acpid2/tickets/10/] |
| 11 | |
| 12 | Signed-off-by: Maxin B. John <maxin.john@intel.com> |
| 13 | --- |
| 14 | sock.c | 2 +- |
| 15 | ud_socket.c | 2 +- |
| 16 | 2 files changed, 2 insertions(+), 2 deletions(-) |
| 17 | |
| 18 | diff --git a/sock.c b/sock.c |
| 19 | index 644d460..9e04501 100644 |
| 20 | --- a/sock.c |
| 21 | +++ b/sock.c |
| 22 | @@ -21,7 +21,7 @@ |
| 23 | */ |
| 24 | |
| 25 | #ifdef HAVE_CONFIG_H |
| 26 | -#include "config.h" |
| 27 | +#include <config.h> |
| 28 | #endif |
| 29 | |
| 30 | #include <unistd.h> |
| 31 | diff --git a/ud_socket.c b/ud_socket.c |
| 32 | index 1790917..83b2aa9 100644 |
| 33 | --- a/ud_socket.c |
| 34 | +++ b/ud_socket.c |
| 35 | @@ -4,7 +4,7 @@ |
| 36 | */ |
| 37 | |
| 38 | #ifdef HAVE_CONFIG_H |
| 39 | -#include "config.h" |
| 40 | +#include <config.h> |
| 41 | #endif |
| 42 | |
| 43 | #include <stdio.h> |
| 44 | -- |
| 45 | 2.4.0 |
| 46 | |