summaryrefslogtreecommitdiff
path: root/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h')
-rw-r--r--sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h b/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h
new file mode 100644
index 000000000000..ec059b54e4fc
--- /dev/null
+++ b/sysutils/syslog-ng3/files/patch-modules-afsocket-afunix.h
@@ -0,0 +1,13 @@
+diff --git a/modules/afsocket/afunix.h b/modules/afsocket/afunix.h
+index ddb63bc..fba3e02 100644
+--- modules/afsocket/afunix.h
++++ modules/afsocket/afunix.h
+@@ -40,7 +40,7 @@ typedef struct _AFUnixSourceDriver
+
+ void afunix_sd_set_uid(LogDriver *self, gchar *owner);
+ void afunix_sd_set_gid(LogDriver *self, gchar *group);
+-void afunix_sd_set_perm(LogDriver *self, mode_t perm);
++void afunix_sd_set_perm(LogDriver *self, gint perm);
+
+ LogDriver *afunix_sd_new(gchar *filename, guint32 flags);
+