Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libedit include explicitly errno.h since we use it.
details: https://anonhg.NetBSD.org/src/rev/cb71011f2ab3
branches: trunk
changeset: 343603:cb71011f2ab3
user: christos <christos%NetBSD.org@localhost>
date: Tue Feb 16 14:04:58 2016 +0000
description:
include explicitly errno.h since we use it.
diffstat:
lib/libedit/sig.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 0efe0ad24d48 -r cb71011f2ab3 lib/libedit/sig.c
--- a/lib/libedit/sig.c Tue Feb 16 14:04:24 2016 +0000
+++ b/lib/libedit/sig.c Tue Feb 16 14:04:58 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sig.c,v 1.18 2016/02/15 15:29:25 christos Exp $ */
+/* $NetBSD: sig.c,v 1.19 2016/02/16 14:04:58 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)sig.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: sig.c,v 1.18 2016/02/15 15:29:25 christos Exp $");
+__RCSID("$NetBSD: sig.c,v 1.19 2016/02/16 14:04:58 christos Exp $");
#endif
#endif /* not lint && not SCCSID */
@@ -47,6 +47,7 @@
* and pass the ball to our caller.
*/
#include "el.h"
+#include <errno.h>
#include <stdlib.h>
private EditLine *sel = NULL;
Home |
Main Index |
Thread Index |
Old Index