diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/CMakeLists.txt | 2 | ||||
-rw-r--r-- | test/plist_cmp.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f933cc1..1b3d2f7 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -1,6 +1,6 @@ #build the test executable -INCLUDE_DIRECTORIES( ${GLIB2_INCLUDE_DIR} ) +INCLUDE_DIRECTORIES( ${CMAKE_SOURCE_DIR}/libcnary/include ) SET(plist_test_SRC plist_test.c) diff --git a/test/plist_cmp.c b/test/plist_cmp.c index af54c4c..a07452b 100644 --- a/test/plist_cmp.c +++ b/test/plist_cmp.c @@ -27,7 +27,7 @@ #include <string.h> #include <sys/stat.h> -#include <glib.h> +#include <node.h> #ifdef _MSC_VER #pragma warning(disable:4996) @@ -35,12 +35,12 @@ static plist_t plist_get_first_child(plist_t node) { - return (plist_t) g_node_first_child((GNode *) node); + return (plist_t) node_first_child((node_t*) node); } static plist_t plist_get_next_sibling(plist_t node) { - return (plist_t) g_node_next_sibling((GNode *) node); + return (plist_t) node_next_sibling((node_t*) node); } static char compare_plist(plist_t node_l, plist_t node_r) |