Permalink
Browse files

[CPAN-RT #77578] Silence a compilation warning (Tony Cook).

  • Loading branch information...
1 parent b8686ef commit 6d204477ca16809fa8125277f96759d28a438f80 @maddingue committed Aug 15, 2012
Showing with 3 additions and 2 deletions.
  1. +1 −0 Changes
  2. +2 −2 Syslog.xs
View
@@ -4,6 +4,7 @@ Revision history for Sys-Syslog
[BUGFIX] CPAN-RT#69310: Avoid a POSIX::strftime issue on Windows
(Michael Ludwig).
[BUGFIX] CPAN-RT#77577: Build on Haiku-OS (Tony Cook).
+ [BUGFIX] CPAN-RT#77578: Silence a compilation warning (Tony Cook).
[BUGFIX] CPAN-RT#78044: Don't call getservbyname() when the port is
specified (Chan Wilson).
[TESTS] t/syslog.t no longer needs to chdir under PERL_CORE.
View
@@ -31,8 +31,6 @@
static SV *ident_svptr;
-#include "const-c.inc"
-
#ifndef LOG_FAC
#define LOG_FACMASK 0x03f8
@@ -59,6 +57,8 @@ static SV *ident_svptr;
#define LOG_UPTO(pri) ((1 << ((pri)+1)) - 1)
#endif
+#include "const-c.inc"
+
MODULE = Sys::Syslog PACKAGE = Sys::Syslog

0 comments on commit 6d20447

Please sign in to comment.