qos length bugfix and apple support plus header cleanup
diff --git a/ggsn/ggsn.c b/ggsn/ggsn.c
index a59d545..5d60b90 100644
--- a/ggsn/ggsn.c
+++ b/ggsn/ggsn.c
@@ -1,17 +1,12 @@
 /* 
  * OpenGGSN - Gateway GPRS Support Node
- * Copyright (C) 2002, 2003 Mondru AB.
+ * Copyright (C) 2002, 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
  * notice and this permission notice is included in all copies or
  * substantial portions of the software.
  * 
- * The initial developer of the original code is
- * Jens Jakobsen <jj@openggsn.org>
- * 
- * Contributor(s):
- * 
  */
 
 /* ggsn.c
@@ -22,6 +17,11 @@
 #define _GNU_SOURCE 1		/* strdup() prototype, broken arpa/inet.h */
 #endif
 
+#include "../config.h"
+
+#ifdef HAVE_STDINT_H
+#include <stdint.h>
+#endif
 
 #include <syslog.h>
 #include <ctype.h>
@@ -47,8 +47,6 @@
 
 #include <time.h>
 
-#include "config.h"
-
 #include "tun.h"
 #include "ippool.h"
 #include "syserr.h"