diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-10 12:55:06 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2017-10-11 09:29:33 +0200 |
commit | 104304864887f0e3765bb28333dc7b9bd991aa4f (patch) | |
tree | c1472d363822507fba1cebca8fb18f611accd51b /freebsd/contrib/tcpdump/gmt2local.c | |
parent | Update CONTRIBUTING.md (diff) | |
download | rtems-libbsd-104304864887f0e3765bb28333dc7b9bd991aa4f.tar.bz2 |
tcpdump: Update to FreeBSD head 2017-04-04
Update tcpdump from Git mirror commit
99a648a912e81e29d9c4c159cbbe263462f2d719 to
642b174daddbd0efd9bb5f242c43f4ab4db6869f.
Diffstat (limited to 'freebsd/contrib/tcpdump/gmt2local.c')
-rw-r--r-- | freebsd/contrib/tcpdump/gmt2local.c | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/freebsd/contrib/tcpdump/gmt2local.c b/freebsd/contrib/tcpdump/gmt2local.c index 6e220919..51c80ab8 100644 --- a/freebsd/contrib/tcpdump/gmt2local.c +++ b/freebsd/contrib/tcpdump/gmt2local.c @@ -1,5 +1,8 @@ #include <machine/rtems-bsd-user-space.h> - +#ifdef __rtems__ +#include <machine/rtems-bsd-program.h> +#include "rtems-bsd-tcpdump-namespace.h" +#endif /* __rtems__ */ /* * Copyright (c) 1997 * The Regents of the University of California. All rights reserved. @@ -21,16 +24,11 @@ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. */ -#ifndef lint -static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/gmt2local.c,v 1.9 2003-11-16 09:36:09 guy Exp $ (LBL)"; -#endif - #ifdef HAVE_CONFIG_H #include "config.h" #endif -#include <tcpdump-stdinc.h> +#include <netdissect-stdinc.h> #include <stdio.h> @@ -71,3 +69,6 @@ gmt2local(time_t t) return (dt); } +#ifdef __rtems__ +#include "rtems-bsd-tcpdump-gmt2local-data.h" +#endif /* __rtems__ */ |