Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | From 7274bbadd398a69b8babf47431f80d35e0228c42 Mon Sep 17 00:00:00 2001 |
| 2 | From: Adrian Freihofer <adrian.freihofer@gmail.com> |
| 3 | Date: Mon, 18 Jan 2016 08:53:26 +0100 |
| 4 | Subject: [PATCH] Fix nm-version-macro includes |
| 5 | |
| 6 | nm-version-macros.h cannot be found since include directive has |
| 7 | been changed from " to <. This breaks for example gnome-panel |
| 8 | build: |
| 9 | /usr/include/NetworkManager/NetworkManager.h:31:31: |
| 10 | fatal error: nm-version-macros.h: No such file or directory. |
| 11 | --- |
| 12 | libnm-core/nm-version.h | 2 +- |
| 13 | libnm-util/NetworkManager.h | 2 +- |
| 14 | libnm-util/nm-version.h | 2 +- |
| 15 | 3 files changed, 3 insertions(+), 3 deletions(-) |
| 16 | |
| 17 | diff --git a/libnm-core/nm-version.h b/libnm-core/nm-version.h |
| 18 | index 730330a..d751bc1 100644 |
| 19 | --- a/libnm-core/nm-version.h |
| 20 | +++ b/libnm-core/nm-version.h |
| 21 | @@ -23,7 +23,7 @@ |
| 22 | |
| 23 | #include <glib.h> |
| 24 | |
| 25 | -#include <nm-version-macros.h> |
| 26 | +#include "nm-version-macros.h" |
| 27 | |
| 28 | /* Deprecation / Availability macros */ |
| 29 | |
| 30 | diff --git a/libnm-util/NetworkManager.h b/libnm-util/NetworkManager.h |
| 31 | index d83e4ab..3a964fc 100644 |
| 32 | --- a/libnm-util/NetworkManager.h |
| 33 | +++ b/libnm-util/NetworkManager.h |
| 34 | @@ -28,7 +28,7 @@ |
| 35 | |
| 36 | /* This header must not include glib or libnm. */ |
| 37 | |
| 38 | -#include <nm-version-macros.h> |
| 39 | +#include "nm-version-macros.h" |
| 40 | |
| 41 | /* |
| 42 | * dbus services details |
| 43 | diff --git a/libnm-util/nm-version.h b/libnm-util/nm-version.h |
| 44 | index 63895dd..41101a4 100644 |
| 45 | --- a/libnm-util/nm-version.h |
| 46 | +++ b/libnm-util/nm-version.h |
| 47 | @@ -23,7 +23,7 @@ |
| 48 | |
| 49 | #include <glib.h> |
| 50 | |
| 51 | -#include <nm-version-macros.h> |
| 52 | +#include "nm-version-macros.h" |
| 53 | |
| 54 | /* Deprecation / Availability macros */ |
| 55 | |
| 56 | -- |
| 57 | 2.5.0 |
| 58 | |