s3-events: tevent_internal.h is not a public header
authorAndrew Tridgell <tridge@samba.org>
Tue, 10 May 2011 12:55:45 +0000 (14:55 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 10 May 2011 14:06:40 +0000 (16:06 +0200)
We need to use the "foo.h" form instead of the <foo.h> form for
headers that are not installed publicly. Otherwise when an external
version of tevent is used we won't find the header and the build will
fail.

Note that this creates a structure dependency between the
tevent structures in the external library and the headers in our
source tree. That is not ideal, but is currently OK as the waf build
will only use the external library if it is at least the same version
as the internal tree, which means it will actually be the same
version, as we release the external version from our tree.

We should come up with a better solution, but for now this allows
openchange to build again.

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Tue May 10 16:06:40 CEST 2011 on sn-devel-104

source3/lib/events.c

index e461ebe977c62e584099312e4438dc2cee01566d..9ff14880ecdbeefa968097086e22f2d6b6c51d85 100644 (file)
@@ -19,7 +19,7 @@
 */
 
 #include "includes.h"
-#include <tevent_internal.h>
+#include "lib/tevent/tevent_internal.h"
 #include "../lib/util/select.h"
 #include "system/select.h"