Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make make(1): fix build on Debian 9



details:   https://anonhg.NetBSD.org/src/rev/a694c5a92576
branches:  trunk
changeset: 939079:a694c5a92576
user:      rillig <rillig%NetBSD.org@localhost>
date:      Fri Sep 25 04:18:11 2020 +0000

description:
make(1): fix build on Debian 9

lst.h:92:5: error: unknown type name 'uint8_t'

It had been broken since the previous commit on 2020-09-24 08:23:29.

diffstat:

 usr.bin/make/lst.c |  6 ++----
 usr.bin/make/lst.h |  3 ++-
 2 files changed, 4 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r afdec7e6bce2 -r a694c5a92576 usr.bin/make/lst.c
--- a/usr.bin/make/lst.c        Fri Sep 25 03:40:11 2020 +0000
+++ b/usr.bin/make/lst.c        Fri Sep 25 04:18:11 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lst.c,v 1.70 2020/09/24 08:23:29 rillig Exp $ */
+/* $NetBSD: lst.c,v 1.71 2020/09/25 04:18:11 rillig Exp $ */
 
 /*
  * Copyright (c) 1988, 1989, 1990, 1993
@@ -32,11 +32,9 @@
  * SUCH DAMAGE.
  */
 
-#include <stdint.h>
-
 #include "make.h"
 
-MAKE_RCSID("$NetBSD: lst.c,v 1.70 2020/09/24 08:23:29 rillig Exp $");
+MAKE_RCSID("$NetBSD: lst.c,v 1.71 2020/09/25 04:18:11 rillig Exp $");
 
 /* Allocate and initialize a list node.
  *
diff -r afdec7e6bce2 -r a694c5a92576 usr.bin/make/lst.h
--- a/usr.bin/make/lst.h        Fri Sep 25 03:40:11 2020 +0000
+++ b/usr.bin/make/lst.h        Fri Sep 25 04:18:11 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lst.h,v 1.66 2020/09/24 08:23:29 rillig Exp $  */
+/*     $NetBSD: lst.h,v 1.67 2020/09/25 04:18:11 rillig Exp $  */
 
 /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -79,6 +79,7 @@
 #define MAKE_LST_H
 
 #include <sys/param.h>
+#include <stdint.h>
 #include <stdlib.h>
 
 /* A doubly-linked list of pointers. */



Home | Main Index | Thread Index | Old Index