diff options
author | Ronnie Sahlberg <sahlberg@ronnie> | 2007-08-15 07:59:01 +1000 |
---|---|---|
committer | Ronnie Sahlberg <sahlberg@ronnie> | 2007-08-15 07:59:01 +1000 |
commit | 6d5af34024ed4869cba5a3f307f97e093b9e82bf (patch) | |
tree | 3e8124df9412060f1221441fe8a78c9a8dc9f2b6 /ctdb/utils/smnotify | |
parent | 9c6e37fea4ec675dd3fb73d7361ea69433c94a14 (diff) | |
download | samba-6d5af34024ed4869cba5a3f307f97e093b9e82bf.tar.gz samba-6d5af34024ed4869cba5a3f307f97e093b9e82bf.tar.xz samba-6d5af34024ed4869cba5a3f307f97e093b9e82bf.zip |
from Chris Cowan
patches to smnotify to make it compile under AIX.
On AIX, we need to specify $(POPT_OBJ) explicitely
On AIX we can not use the -C flag to rpcgen since it is not implemented
On AIX we must explicitely force an #include of rpc/rpc.h in the idl
file since rpcgen does not automatically add it to the generated files
(This used to be ctdb commit 8c3e7ce645ec829bc465302831cc6b23452525d6)
Diffstat (limited to 'ctdb/utils/smnotify')
-rw-r--r-- | ctdb/utils/smnotify/smnotify.x | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ctdb/utils/smnotify/smnotify.x b/ctdb/utils/smnotify/smnotify.x index 0d2c69799a..94239f8baf 100644 --- a/ctdb/utils/smnotify/smnotify.x +++ b/ctdb/utils/smnotify/smnotify.x @@ -1,3 +1,8 @@ +#ifdef RPC_HDR +%#ifdef _AIX +%#include <rpc/rpc.h> +%#endif /* _AIX */ +#endif /* RPC_HDR */ const SM_MAXSTRLEN = 1024; |