Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/nvi/dist/common Include <stddef.h> for offsetof(3)
details: https://anonhg.NetBSD.org/src/rev/c3723954cdd1
branches: trunk
changeset: 833450:c3723954cdd1
user: kamil <kamil%NetBSD.org@localhost>
date: Mon Jun 25 18:36:36 2018 +0000
description:
Include <stddef.h> for offsetof(3)
diffstat:
external/bsd/nvi/dist/common/log1.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r fb74be0aa33e -r c3723954cdd1 external/bsd/nvi/dist/common/log1.c
--- a/external/bsd/nvi/dist/common/log1.c Mon Jun 25 18:05:25 2018 +0000
+++ b/external/bsd/nvi/dist/common/log1.c Mon Jun 25 18:36:36 2018 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: log1.c,v 1.5 2018/06/25 17:42:34 kamil Exp $ */
+/* $NetBSD: log1.c,v 1.6 2018/06/25 18:36:36 kamil Exp $ */
/*-
* Copyright (c) 1992, 1993, 1994
* The Regents of the University of California. All rights reserved.
@@ -16,7 +16,7 @@
static const char sccsid[] = "Id: log.c,v 10.26 2002/03/02 23:12:13 skimo Exp (Berkeley) Date: 2002/03/02 23:12:13 ";
#endif /* not lint */
#else
-__RCSID("$NetBSD: log1.c,v 1.5 2018/06/25 17:42:34 kamil Exp $");
+__RCSID("$NetBSD: log1.c,v 1.6 2018/06/25 18:36:36 kamil Exp $");
#endif
#include <sys/types.h>
@@ -30,6 +30,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stddef.h>
#include "common.h"
Home |
Main Index |
Thread Index |
Old Index