summaryrefslogtreecommitdiff
path: root/lib/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/log.h')
-rw-r--r--lib/log.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/log.h b/lib/log.h
index cc419cc374..5faf0103e2 100644
--- a/lib/log.h
+++ b/lib/log.h
@@ -24,6 +24,7 @@
#define _ZEBRA_LOG_H
#include <syslog.h>
+#include <stdint.h>
#include <stdio.h>
/* Here is some guidance on logging levels to use:
@@ -64,7 +65,7 @@ struct message
/* Open zlog function */
extern void openzlog (const char *progname, const char *protoname,
- u_short instance, int syslog_options, int syslog_facility);
+ uint16_t instance, int syslog_options, int syslog_facility);
/* Close zlog function. */
extern void closezlog (void);