Module Name: src
Committed By: kamil
Date: Mon Jun 25 18:36:36 UTC 2018
Modified Files:
src/external/bsd/nvi/dist/common: log1.c
Log Message:
Include <stddef.h> for offsetof(3)
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/bsd/nvi/dist/common/log1.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/nvi/dist/common/log1.c
diff -u src/external/bsd/nvi/dist/common/log1.c:1.5 src/external/bsd/nvi/dist/common/log1.c:1.6
--- src/external/bsd/nvi/dist/common/log1.c:1.5 Mon Jun 25 17:42:34 2018
+++ src/external/bsd/nvi/dist/common/log1.c Mon Jun 25 18:36:36 2018
@@ -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 @@ __RCSID("$NetBSD: log1.c,v 1.5 2018/06/2
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <stddef.h>
#include "common.h"