git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06dfd13
)
Correct include for ctdb_protocol.h
author
Volker Lendecke
<vl@samba.org>
Tue, 9 Oct 2012 09:39:58 +0000
(11:39 +0200)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 9 Oct 2012 12:13:29 +0000
(23:13 +1100)
With an old ctdb_protocol.h installed under /usr/local, ctdb will
not compile because the <> form of include will find the header
under /usr/local
include/ctdb_client.h
patch
|
blob
|
history
diff --git
a/include/ctdb_client.h
b/include/ctdb_client.h
index c14a395b9e88653687c885a9a4ca2bf44aa45caf..9f0589f1e72bc686f3835c6971bf3c833bd87a57 100644
(file)
--- a/
include/ctdb_client.h
+++ b/
include/ctdb_client.h
@@
-19,7
+19,7
@@
#ifndef _CTDB_CLIENT_H
#define _CTDB_CLIENT_H
-#include
<ctdb_protocol.h>
+#include
"ctdb_protocol.h"
enum control_state {CTDB_CONTROL_WAIT, CTDB_CONTROL_DONE, CTDB_CONTROL_ERROR, CTDB_CONTROL_TIMEOUT};