summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/include/structs.h2
-rw-r--r--source4/libcli/config.mk8
2 files changed, 9 insertions, 1 deletions
diff --git a/source4/include/structs.h b/source4/include/structs.h
index c69bc87fa7..6276012e48 100644
--- a/source4/include/structs.h
+++ b/source4/include/structs.h
@@ -172,6 +172,8 @@ struct nbt_name_register_bcast;
struct nbt_name_refresh_wins;
struct nbt_name_register_wins;
+struct nbt_dgram_packet;
+
struct messaging_context;
struct stream_connection;
struct task_server;
diff --git a/source4/libcli/config.mk b/source4/libcli/config.mk
index e6be2ed058..51fb3c7025 100644
--- a/source4/libcli/config.mk
+++ b/source4/libcli/config.mk
@@ -35,6 +35,11 @@ ADD_OBJ_FILES = \
libcli/nbt/namerelease.o
REQUIRED_SUBSYSTEMS = LIBNDR_RAW NDR_NBT SOCKET LIBCLI_COMPOSITE_BASE LIBEVENTS
+[SUBSYSTEM::LIBCLI_DGRAM]
+ADD_OBJ_FILES = \
+ libcli/dgram/dgramsocket.o
+REQUIRED_SUBSYSTEMS = LIBCLI_NBT
+
[SUBSYSTEM::LIBCLI_WINS]
ADD_OBJ_FILES = \
libcli/wins/winsrepl.o
@@ -51,4 +56,5 @@ REQUIRED_SUBSYSTEMS = LIBCLI_NBT
[SUBSYSTEM::LIBCLI]
REQUIRED_SUBSYSTEMS = LIBCLI_RAW LIBCLI_UTILS LIBCLI_AUTH \
- LIBCLI_COMPOSITE LIBCLI_NBT LIB_SECURITY LIBCLI_RESOLVE
+ LIBCLI_COMPOSITE LIBCLI_NBT LIB_SECURITY LIBCLI_RESOLVE \
+ LIBCLI_DGRAM