diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-02-27 18:39:10 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-02-28 21:11:21 +0100 |
commit | 21d926f0ef35eb3b34841d9d9606e8f819db9819 (patch) | |
tree | 4a96bd5cfb5b1b429285df053e135a321947aaaf | |
parent | 6e66208f6320949ba740e8d939fcfbb259ab0c67 (diff) | |
download | samba-21d926f0ef35eb3b34841d9d9606e8f819db9819.tar.gz samba-21d926f0ef35eb3b34841d9d9606e8f819db9819.tar.bz2 samba-21d926f0ef35eb3b34841d9d9606e8f819db9819.zip |
Use <tevent.h> so the system tevent gets included, if enabled.
-rw-r--r-- | lib/util/tevent_unix.h | 2 | ||||
-rw-r--r-- | lib/util/util_runcmd.c | 4 | ||||
-rw-r--r-- | source4/lib/events/events.h | 2 | ||||
-rw-r--r-- | source4/ntvfs/sysdep/sys_notify.c | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/lib/util/tevent_unix.h b/lib/util/tevent_unix.h index bc2cea9199..377e976c39 100644 --- a/lib/util/tevent_unix.h +++ b/lib/util/tevent_unix.h @@ -24,7 +24,7 @@ #ifndef _TEVENT_UNIX_H #define _TEVENT_UNIX_H -#include "../tevent/tevent.h" +#include <tevent.h> bool tevent_req_is_unix_error(struct tevent_req *req, int *perrno); diff --git a/lib/util/util_runcmd.c b/lib/util/util_runcmd.c index aa2a3e6672..50a3db7f72 100644 --- a/lib/util/util_runcmd.c +++ b/lib/util/util_runcmd.c @@ -27,8 +27,8 @@ #include "includes.h" #include "system/filesys.h" -#include "lib/tevent/tevent.h" -#include "lib/util/tevent_unix.h" +#include <tevent.h> +#include <tevent_unix.h> struct samba_runcmd_state { int stdout_log_level; diff --git a/source4/lib/events/events.h b/source4/lib/events/events.h index 5fdb96794e..f66698838d 100644 --- a/source4/lib/events/events.h +++ b/source4/lib/events/events.h @@ -1,7 +1,7 @@ #ifndef __LIB_EVENTS_H__ #define __LIB_EVENTS_H__ #define TEVENT_COMPAT_DEFINES 1 -#include <../lib/tevent/tevent.h> +#include <tevent.h> struct tevent_context *s4_event_context_init(TALLOC_CTX *mem_ctx); struct tevent_context *event_context_find(TALLOC_CTX *mem_ctx) _DEPRECATED_; void s4_event_context_set_default(struct tevent_context *ev); diff --git a/source4/ntvfs/sysdep/sys_notify.c b/source4/ntvfs/sysdep/sys_notify.c index 72509e67a5..03679b644d 100644 --- a/source4/ntvfs/sysdep/sys_notify.c +++ b/source4/ntvfs/sysdep/sys_notify.c @@ -25,7 +25,7 @@ #include "includes.h" #include "system/filesys.h" #include "ntvfs/sysdep/sys_notify.h" -#include "../lib/tevent/tevent.h" +#include <tevent.h> #include "../lib/util/dlinklist.h" #include "param/param.h" |