Hi,
On ReliantUnix the following code can't be compiled:
+++
typedef struct {
} authz_owner_config_rec;
+++
Because the structure is empty.
Any problem to apply the following patch:
+++
Index: aaa/mod_authz_owner.c
===================================================================
--- aaa/mod_authz_owner.c (revision 370359)
+++ aaa/mod_authz_owner.c (working copy)
@@ -29,14 +29,13 @@
#include "mod_auth.h" /* for AUTHZ_GROUP_NOTE */
-typedef struct {
-} authz_owner_config_rec;
+typedef struct authz_owner_config_rec_struct *authz_owner_config_rec_ptr;
APR_DECLARE_OPTIONAL_FN(char*, authz_owner_get_file_group, (request_rec
*r));
static void *create_authz_owner_dir_config(apr_pool_t *p, char *d)
{
- authz_owner_config_rec *conf = apr_palloc(p, sizeof(*conf));
+ authz_owner_config_rec_ptr conf = apr_palloc(p, sizeof(conf));
return conf;
}
+++
Cheers
Jean-Frederic