summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Lucina <martin@lucina.net>2012-05-21 13:44:02 +0200
committerMartin Sustrik <sustrik@250bpm.com>2012-05-21 13:44:02 +0200
commit9839659de3f7d8e8827af776d23efe15627c7d3e (patch)
tree5c889b61984bd14f9990e34f69a7a43e01fd4024 /src
parent3f9d24d24322ed40d861c006671a386532728812 (diff)
Fixes a conflict with XenStore (see
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668550) Signed-off-by: Martin Lucina <martin@lucina.net>
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am8
-rw-r--r--src/core.cpp2
-rw-r--r--src/ctx.hpp2
-rw-r--r--src/err.hpp2
-rw-r--r--src/msg.cpp2
-rw-r--r--src/object.hpp2
-rw-r--r--src/options.cpp2
-rw-r--r--src/precompiled.hpp2
-rw-r--r--src/prefix_filter.cpp2
-rw-r--r--src/sub.hpp2
-rw-r--r--src/upoll.hpp2
-rw-r--r--src/xpub.cpp2
-rw-r--r--src/xpub.hpp2
-rw-r--r--src/xsub.hpp2
-rw-r--r--src/xszmq.cpp2
15 files changed, 18 insertions, 18 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 390dc50..8c3de7c 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -5,16 +5,16 @@ lib_LTLIBRARIES = libxs.la libzmq.la
pkgconfig_DATA = libxs.pc libzmq.pc
-include_HEADERS = ../include/xs.h \
- ../include/zmq.h ../include/zmq_utils.h
+include_HEADERS = ../include/zmq.h ../include/zmq_utils.h
else
lib_LTLIBRARIES = libxs.la
pkgconfig_DATA = libxs.pc
-
-include_HEADERS = ../include/xs.h
endif
+xsincludedir = $(includedir)/xs
+xsinclude_HEADERS = ../include/xs/xs.h
+
libxs_la_SOURCES = \
address.hpp \
array.hpp \
diff --git a/src/core.cpp b/src/core.cpp
index 2d16167..ea80791 100644
--- a/src/core.cpp
+++ b/src/core.cpp
@@ -18,7 +18,7 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "core.hpp"
#include "err.hpp"
diff --git a/src/ctx.hpp b/src/ctx.hpp
index 8e2fd03..24e879d 100644
--- a/src/ctx.hpp
+++ b/src/ctx.hpp
@@ -26,7 +26,7 @@
#include <vector>
#include <string>
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "mailbox.hpp"
#include "array.hpp"
diff --git a/src/err.hpp b/src/err.hpp
index 64ab545..28b3303 100644
--- a/src/err.hpp
+++ b/src/err.hpp
@@ -23,7 +23,7 @@
#define __XS_ERR_HPP_INCLUDED__
// Crossroads-specific error codes are defined in xs.h
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include <assert.h>
#include <errno.h>
diff --git a/src/msg.cpp b/src/msg.cpp
index aa6960d..3b97366 100644
--- a/src/msg.cpp
+++ b/src/msg.cpp
@@ -20,7 +20,7 @@
*/
#include "msg.hpp"
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include <string.h>
#include <errno.h>
diff --git a/src/object.hpp b/src/object.hpp
index b695308..fe3c510 100644
--- a/src/object.hpp
+++ b/src/object.hpp
@@ -22,7 +22,7 @@
#ifndef __XS_OBJECT_HPP_INCLUDED__
#define __XS_OBJECT_HPP_INCLUDED__
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "stdint.hpp"
diff --git a/src/options.cpp b/src/options.cpp
index f7bbdc4..62c03a2 100644
--- a/src/options.cpp
+++ b/src/options.cpp
@@ -23,7 +23,7 @@
#include <string.h>
#include <limits>
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "options.hpp"
#include "err.hpp"
diff --git a/src/precompiled.hpp b/src/precompiled.hpp
index 8ae2246..c77b4c5 100644
--- a/src/precompiled.hpp
+++ b/src/precompiled.hpp
@@ -40,7 +40,7 @@
#include <vector>
// Crossroads definitions and exported functions
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#endif // _MSC_VER
diff --git a/src/prefix_filter.cpp b/src/prefix_filter.cpp
index 5f1a72a..06a77f5 100644
--- a/src/prefix_filter.cpp
+++ b/src/prefix_filter.cpp
@@ -24,7 +24,7 @@
#include <stddef.h>
#include <stdlib.h>
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "prefix_filter.hpp"
#include "err.hpp"
diff --git a/src/sub.hpp b/src/sub.hpp
index c50c0bd..0519af5 100644
--- a/src/sub.hpp
+++ b/src/sub.hpp
@@ -24,7 +24,7 @@
#include <vector>
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "xsub.hpp"
#include "core.hpp"
diff --git a/src/upoll.hpp b/src/upoll.hpp
index d08cf5e..dbb5077 100644
--- a/src/upoll.hpp
+++ b/src/upoll.hpp
@@ -21,7 +21,7 @@
#ifndef __XS_UPOLL_HPP_INCLUDED__
#define __XS_UPOLL_HPP_INCLUDED__
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
namespace xs
{
diff --git a/src/xpub.cpp b/src/xpub.cpp
index fe0b9a7..fbb45fb 100644
--- a/src/xpub.cpp
+++ b/src/xpub.cpp
@@ -21,7 +21,7 @@
#include <string.h>
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "xpub.hpp"
#include "pipe.hpp"
diff --git a/src/xpub.hpp b/src/xpub.hpp
index c0e47ff..c76f03c 100644
--- a/src/xpub.hpp
+++ b/src/xpub.hpp
@@ -21,7 +21,7 @@
#ifndef __XS_XPUB_HPP_INCLUDED__
#define __XS_XPUB_HPP_INCLUDED__
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include <deque>
#include <string>
diff --git a/src/xsub.hpp b/src/xsub.hpp
index 5bc11c4..0cf81b5 100644
--- a/src/xsub.hpp
+++ b/src/xsub.hpp
@@ -23,7 +23,7 @@
#include <map>
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "socket_base.hpp"
#include "session_base.hpp"
diff --git a/src/xszmq.cpp b/src/xszmq.cpp
index f6e6fa1..21db52c 100644
--- a/src/xszmq.cpp
+++ b/src/xszmq.cpp
@@ -22,7 +22,7 @@
#include "../include/zmq.h"
#include "../include/zmq_utils.h"
-#include "../include/xs.h"
+#include "../include/xs/xs.h"
#include "platform.hpp"