From: Djalal Harouni Date: Wed, 22 Oct 2014 11:41:34 +0000 (+0100) Subject: test: just define KDBUS_SYSNAME_MAX_LEN here in test-endpoint X-Git-Tag: upstream/0.20141102.012929utc~51 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d910a6ac2bdf41a8983f26c228b998234e249197;p=platform%2Fcore%2Fsystem%2Fkdbus-bus.git test: just define KDBUS_SYSNAME_MAX_LEN here in test-endpoint Signed-off-by: Djalal Harouni --- diff --git a/test/kdbus-util.h b/test/kdbus-util.h index b8de2e9..6dc2623 100644 --- a/test/kdbus-util.h +++ b/test/kdbus-util.h @@ -12,7 +12,6 @@ #define BIT(X) (1 << (X)) #include "../kdbus.h" -#include "../limits.h" #define _STRINGIFY(x) #x #define STRINGIFY(x) _STRINGIFY(x) diff --git a/test/test-endpoint.c b/test/test-endpoint.c index 90067e5..5c72ca5 100644 --- a/test/test-endpoint.c +++ b/test/test-endpoint.c @@ -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 {