tdb: Use <tdb.h> to include tdb so system headers are found when building against...
authorJelmer Vernooij <jelmer@samba.org>
Sun, 27 Feb 2011 19:45:42 +0000 (20:45 +0100)
committerJelmer Vernooij <jelmer@samba.org>
Mon, 28 Feb 2011 20:11:21 +0000 (21:11 +0100)
lib/crypto/md4test.c
lib/tdr/tdr.c
lib/util/util_runcmd.c
lib/util/util_tdb.c
source4/auth/credentials/pycredentials.h
source4/auth/pyauth.h
source4/lib/tdb_wrap.c

index e406c692a12ad7d2e0cbb1868b56b8aa09d674ac..7516e826abf27adc494ca69a2f091ffa01377bb1 100644 (file)
@@ -26,7 +26,7 @@ struct torture_context;
 /*
  This uses the test values from rfc1320
 */
-bool torture_local_crypto_md4(struct torture_context *torture) 
+bool torture_local_crypto_md4(struct torture_context *torture)
 {
        bool ret = true;
        uint32_t i;
index 95871047b7f3a16793fb805c166211b0e8c605e4..ab016d0bc4a9b6ec5c8db6d1cdb02f62b4b444f9 100644 (file)
@@ -387,7 +387,7 @@ NTSTATUS tdr_push_to_fd(int fd, tdr_push_fn_t push_fn, const void *p)
        return NT_STATUS_OK;
 }
 
-void tdr_print_debug_helper(struct tdr_print *tdr, const char *format, ...) _PRINTF_ATTRIBUTE(2,3)
+void tdr_print_debug_helper(struct tdr_print *tdr, const char *format, ...)
 {
        va_list ap;
        char *s = NULL;
index 50a3db7f7281c334ff72101f6d55b4dd6cf57404..d617254432365d23354885e278734841ff06cd03 100644 (file)
@@ -28,7 +28,7 @@
 #include "includes.h"
 #include "system/filesys.h"
 #include <tevent.h>
-#include <tevent_unix.h>
+#include "../lib/util/tevent_unix.h"
 
 struct samba_runcmd_state {
        int stdout_log_level;
index 8973b9b1ec9ead336b91af5e7f0d0813e20c0f04..4a81678808ec9c8abbb83815cf950d72f1c49977 100644 (file)
@@ -20,7 +20,7 @@
 */
 
 #include "includes.h"
-#include "tdb.h"
+#include <tdb.h>
 #include "../lib/util/util_tdb.h"
 
 /* these are little tdb utility functions that are meant to make
index 5c3a9b2ebbf7e409a699b30b3b5879141926608f..451ade6ee96dd982e84f6f3897109cccef506ae1 100644 (file)
@@ -20,7 +20,7 @@
 #define _PYCREDENTIALS_H_
 
 #include "auth/credentials/credentials.h"
-#include "lib/talloc/pytalloc.h"
+#include <pytalloc.h>
 
 extern PyTypeObject PyCredentials;
 extern PyTypeObject PyCredentialCacheContainer;
index 2d0379e6e86958c84fbec2e5e91c69e8a9e8f62c..38fd2a56a851ad98988598413f1b83e2689db6e6 100644 (file)
@@ -20,7 +20,7 @@
 #ifndef _PYAUTH_H_
 #define _PYAUTH_H_
 
-#include "lib/talloc/pytalloc.h"
+#include <pytalloc.h>
 #include "auth/session.h"
 
 #define PyAuthSession_AsSession(obj) py_talloc_get_type(obj, struct auth_session_info)
index e08e4f73fc9dab9161017f8e7538d78302f712f1..97294e13d30b53f0541b3e9e7dd3932a28adf4da 100644 (file)
@@ -23,7 +23,7 @@
 #include <tdb.h>
 #include "../lib/util/dlinklist.h"
 #include "tdb_wrap.h"
-#include "tdb.h"
+#include <tdb.h>
 
 static struct tdb_wrap *tdb_list;