1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
From c39da3038d9456663b17faa1606e87c5b16711ca Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= <slavek.banko@axis.cz>
Date: Sun, 8 Sep 2019 16:38:35 +0200
Subject: [PATCH] Remove the config.h header, which is generated and valid
during build from the source code, from the breakpoints.h header that is part
of the public API.
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
This resolves Debian Bug #939338.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
---
cli/cmd_break.cc | 1 +
cli/socket.cc | 1 +
src/14bit-registers.cc | 2 ++
src/breakpoints.h | 2 --
src/trigger.cc | 1 +
5 files changed, 5 insertions(+), 2 deletions(-)
Index: gpsim/cli/cmd_break.cc
===================================================================
--- gpsim.orig/cli/cmd_break.cc
+++ gpsim/cli/cmd_break.cc
@@ -28,6 +28,7 @@ Boston, MA 02111-1307, USA. */
#include "misc.h"
#include "cmd_break.h"
+#include "../config.h"
#include "../src/breakpoints.h"
#include "../src/expr.h"
#include "../src/operator.h"
Index: gpsim/cli/socket.cc
===================================================================
--- gpsim.orig/cli/socket.cc
+++ gpsim/cli/socket.cc
@@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */
#include <unistd.h>
#include <sys/types.h>
+#include "../config.h"
#include "../src/symbol.h"
#include "../src/protocol.h"
#include "../src/gpsim_interface.h"
Index: gpsim/src/14bit-registers.cc
===================================================================
--- gpsim.orig/src/14bit-registers.cc
+++ gpsim/src/14bit-registers.cc
@@ -26,6 +26,8 @@ License along with this library; if not,
#include <iostream>
#include <string>
+#include "../config.h"
+
#include "14bit-processors.h"
#include "14bit-registers.h"
#include "14bit-tmrs.h"
Index: gpsim/src/trigger.cc
===================================================================
--- gpsim.orig/src/trigger.cc
+++ gpsim/src/trigger.cc
@@ -19,6 +19,7 @@ License along with this library; if not,
*/
+#include "../config.h"
#include "trigger.h"
#include "value.h"
#include "expr.h"
|