test: just define KDBUS_SYSNAME_MAX_LEN here in test-endpoint
authorDjalal Harouni <tixxdz@opendz.org>
Wed, 22 Oct 2014 11:41:34 +0000 (12:41 +0100)
committerDjalal Harouni <tixxdz@opendz.org>
Wed, 22 Oct 2014 11:41:34 +0000 (12:41 +0100)
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
test/kdbus-util.h
test/test-endpoint.c

index b8de2e98904551799bd056756ae0957bc972f99d..6dc262335b92dd2ffa9e40bb09f9e9b4da7a6366 100644 (file)
@@ -12,7 +12,6 @@
 #define BIT(X) (1 << (X))
 
 #include "../kdbus.h"
-#include "../limits.h"
 
 #define _STRINGIFY(x) #x
 #define STRINGIFY(x) _STRINGIFY(x)
index 90067e5f65e7d3d1f96411de37a3727b68127fa6..5c72ca532c4f32024bdc330edfedb96231d33b77 100644 (file)
@@ -15,6 +15,8 @@
 #include "kdbus-enum.h"
 #include "kdbus-test.h"
 
+#define KDBUS_SYSNAME_MAX_LEN                  63
+
 static int install_name_add_match(struct kdbus_conn *conn, const char *name)
 {
        struct {