diff options
-rw-r--r-- | ggsn/ggsn.c | 2 | ||||
-rw-r--r-- | ggsn/syserr.c | 1 | ||||
-rw-r--r-- | ggsn/syserr.h | 2 | ||||
-rw-r--r-- | sgsnemu/syserr.c | 1 | ||||
-rw-r--r-- | sgsnemu/syserr.h | 2 |
5 files changed, 3 insertions, 5 deletions
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c index 5d60b90..08acab7 100644 --- a/ggsn/ggsn.c +++ b/ggsn/ggsn.c @@ -88,7 +88,7 @@ void log_pid(char *pidfile) { fclose(file); } -#if defined(_sun__) +#if defined(__sun__) int daemon(int nochdir, int noclose) { int fd; diff --git a/ggsn/syserr.c b/ggsn/syserr.c index 8418956..e0ebc3a 100644 --- a/ggsn/syserr.c +++ b/ggsn/syserr.c @@ -10,7 +10,6 @@ */ #include <stdarg.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <stdio.h> diff --git a/ggsn/syserr.h b/ggsn/syserr.h index 5a41817..a1ccb2d 100644 --- a/ggsn/syserr.h +++ b/ggsn/syserr.h @@ -1,6 +1,6 @@ /* * Syslog functions. - * Copyright (C) 2003 Mondru AB. + * Copyright (C) 2003, 2004 Mondru AB. * * The contents of this file may be used under the terms of the GNU * General Public License Version 2, provided that the above copyright diff --git a/sgsnemu/syserr.c b/sgsnemu/syserr.c index 8418956..e0ebc3a 100644 --- a/sgsnemu/syserr.c +++ b/sgsnemu/syserr.c @@ -10,7 +10,6 @@ */ #include <stdarg.h> -#include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> #include <stdio.h> diff --git a/sgsnemu/syserr.h b/sgsnemu/syserr.h index 5a41817..a1ccb2d 100644 --- a/sgsnemu/syserr.h +++ b/sgsnemu/syserr.h @@ -1,6 +1,6 @@ /* * Syslog functions. - * Copyright (C) 2003 Mondru AB. + * Copyright (C) 2003, 2004 Mondru AB. * * The contents of this file may be used under the terms of the GNU * General Public License Version 2, provided that the above copyright |