summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump/os.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/tcpdump/os.h')
-rw-r--r--usr.sbin/tcpdump/os.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/os.h b/usr.sbin/tcpdump/os.h
index 06ade544d5d..447f34e02a5 100644
--- a/usr.sbin/tcpdump/os.h
+++ b/usr.sbin/tcpdump/os.h
@@ -1,5 +1,5 @@
-/* $OpenBSD: os.h,v 1.2 1996/03/04 15:59:12 mickey Exp $ */
-/* $NetBSD: os.h,v 1.2 1995/03/06 19:10:56 mycroft Exp $ */
+/**//* $OpenBSD: os.h,v 1.3 1996/06/10 07:47:26 deraadt Exp $ */
+/* $NetBSD: os.h,v 1.3 1996/05/20 00:41:06 fvdl Exp $ */
/*
* Copyright (c) 1990, 1991, 1993, 1994
@@ -61,3 +61,10 @@
#ifndef RIPCMD_POLLENTRY
#define RIPCMD_POLLENTRY 6
#endif
+
+typedef int64_t int64;
+typedef u_int64_t u_int64;
+
+#define INT64_FORMAT "%qd"
+#define U_INT64_FORMAT "%qu"
+#define HEX_INT64_FORMAT "%qx"