Skip to content

Commit b54bab7

Browse files
committed
c-list: hook up "c-list.h" for internal usage
1 parent 9ce2675 commit b54bab7

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

Makefile.am

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,9 @@ noinst_HEADERS = \
338338
include/nl-priv-dynamic-core/object-api.h \
339339
include/nl-priv-dynamic-route/nl-priv-dynamic-route.h \
340340
include/nl-priv-static-route/nl-priv-static-route.h \
341+
\
342+
third_party/c-list/src/c-list.h \
343+
\
341344
$(NULL)
342345

343346
###############################################################################
@@ -395,6 +398,7 @@ default_includes = \
395398
-I$(srcdir)/include/linux-private \
396399
-I$(srcdir)/include \
397400
-I$(builddir)/include \
401+
-I$(srcdir)/third_party/c-list/src \
398402
$(NULL)
399403

400404
default_cppflags = \

include/netlink/list.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
#ifndef NETLINK_LIST_H_
77
#define NETLINK_LIST_H_
88

9+
/* For internal uses consider using "third_party/c-list/src/c-list.h" instead.
10+
*/
11+
912
#include <stddef.h>
1013

1114
#ifdef __cplusplus

tests/check-direct.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <netlink/route/link.h>
1111
#include <netlink/route/link/bridge.h>
1212

13+
#include "c-list.h"
14+
1315
#include "nl-priv-static-route/nl-priv-static-route.h"
1416
#include "nl-aux-core/nl-core.h"
1517

0 commit comments

Comments
 (0)