summaryrefslogtreecommitdiffstats
path: root/c/src/exec/libnetworking/lib/syslog.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 21:47:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-20 21:47:37 +0000
commitff0f694d466fb114c185bf464811658f97d012f1 (patch)
tree1eef0becdabdf6a9902d265a84fc9bf9fd9389d5 /c/src/exec/libnetworking/lib/syslog.c
parentchanged version to 980820-BSD (diff)
downloadrtems-ff0f694d466fb114c185bf464811658f97d012f1.tar.bz2
Fixed many warnings.
Diffstat (limited to 'c/src/exec/libnetworking/lib/syslog.c')
-rw-r--r--c/src/exec/libnetworking/lib/syslog.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/exec/libnetworking/lib/syslog.c b/c/src/exec/libnetworking/lib/syslog.c
index 7f468c81e6..0bb15bc78e 100644
--- a/c/src/exec/libnetworking/lib/syslog.c
+++ b/c/src/exec/libnetworking/lib/syslog.c
@@ -13,6 +13,8 @@
#include <sys/socket.h>
#include <netinet/in.h>
+#include <unistd.h>
+
static int LogStatus = LOG_CONS;
static const char *LogTag = "syslog";
static int LogFacility = LOG_USER;