summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
Diffstat (limited to 'libcli')
-rw-r--r--libcli/echo/tests/echo.c2
-rw-r--r--libcli/nbt/dns_hosts_file.c1
-rw-r--r--libcli/security/pysecurity.c2
-rw-r--r--libcli/security/secacl.c1
-rw-r--r--libcli/util/error.h2
5 files changed, 8 insertions, 0 deletions
diff --git a/libcli/echo/tests/echo.c b/libcli/echo/tests/echo.c
index 77a7dfa677..c47b7d0d0f 100644
--- a/libcli/echo/tests/echo.c
+++ b/libcli/echo/tests/echo.c
@@ -26,6 +26,8 @@
#include "libcli/util/ntstatus.h"
#include "libcli/echo/libecho.h"
+NTSTATUS torture_libcli_echo_init(void);
+
/* Basic test function that sends an echo request and checks the reply */
static bool echo_udp_basic(struct torture_context *tctx, const char *address)
{
diff --git a/libcli/nbt/dns_hosts_file.c b/libcli/nbt/dns_hosts_file.c
index 810e4ebb0c..c6491a925e 100644
--- a/libcli/nbt/dns_hosts_file.c
+++ b/libcli/nbt/dns_hosts_file.c
@@ -28,6 +28,7 @@
#include "lib/util/util_net.h"
#include "system/filesys.h"
#include "system/network.h"
+#include "libcli/nbt/libnbt.h"
/********************************************************
Start parsing the dns_hosts_file file.
diff --git a/libcli/security/pysecurity.c b/libcli/security/pysecurity.c
index 56bdd69b4c..87134bf104 100644
--- a/libcli/security/pysecurity.c
+++ b/libcli/security/pysecurity.c
@@ -23,6 +23,8 @@
#include "libcli/security/security.h"
#include "pytalloc.h"
+void initsecurity(void);
+
static PyObject *py_se_access_check(PyObject *module, PyObject *args, PyObject *kwargs)
{
NTSTATUS nt_status;
diff --git a/libcli/security/secacl.c b/libcli/security/secacl.c
index 9c04df81d1..47184ae96f 100644
--- a/libcli/security/secacl.c
+++ b/libcli/security/secacl.c
@@ -23,6 +23,7 @@
#include "includes.h"
#include "librpc/gen_ndr/ndr_security.h"
#include "libcli/security/secace.h"
+#include "libcli/security/secacl.h"
#define SEC_ACL_HEADER_SIZE (2 * sizeof(uint16_t) + sizeof(uint32_t))
diff --git a/libcli/util/error.h b/libcli/util/error.h
index 77a2f5a433..7b7de6c4f0 100644
--- a/libcli/util/error.h
+++ b/libcli/util/error.h
@@ -51,4 +51,6 @@ convert a Unix error code to a WERROR
*********************************************************************/
WERROR unix_to_werror(int unix_error);
+NTSTATUS nt_status_squash(NTSTATUS nt_status);
+
#endif /* _SAMBA_ERROR_H */