Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/external/bsd/ipf/netinet Include cdefs.h earlier for Net...



details:   https://anonhg.NetBSD.org/src/rev/586a81d02148
branches:  trunk
changeset: 796346:586a81d02148
user:      rmind <rmind%NetBSD.org@localhost>
date:      Fri May 30 02:16:17 2014 +0000

description:
Include cdefs.h earlier for NetBSD.

diffstat:

 sys/external/bsd/ipf/netinet/ip_auth.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r 3e0f7de56ee8 -r 586a81d02148 sys/external/bsd/ipf/netinet/ip_auth.c
--- a/sys/external/bsd/ipf/netinet/ip_auth.c    Fri May 30 02:16:10 2014 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_auth.c    Fri May 30 02:16:17 2014 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ip_auth.c,v 1.4 2013/10/20 17:14:05 christos Exp $     */
+/*     $NetBSD: ip_auth.c,v 1.5 2014/05/30 02:16:17 rmind Exp $        */
 
 /*
  * Copyright (C) 2012 by Darren Reed.
@@ -11,6 +11,9 @@
 # define        KERNEL 1
 # define        _KERNEL        1
 #endif
+#if defined(__NetBSD__)
+#include <sys/cdefs.h>
+#endif
 #include <sys/errno.h>
 #include <sys/types.h>
 #include <sys/param.h>
@@ -128,8 +131,7 @@
 
 #if !defined(lint)
 #if defined(__NetBSD__)
-#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_auth.c,v 1.4 2013/10/20 17:14:05 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_auth.c,v 1.5 2014/05/30 02:16:17 rmind Exp $");
 #else
 static const char rcsid[] = "@(#)Id: ip_auth.c,v 1.1.1.2 2012/07/22 13:45:08 darrenr Exp";
 #endif



Home | Main Index | Thread Index | Old Index