Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mdsetimage Need <stdint.h> for uintmax_t.



details:   https://anonhg.NetBSD.org/src/rev/a7dd46498bc7
branches:  trunk
changeset: 819823:a7dd46498bc7
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 18 18:32:24 2016 +0000

description:
Need <stdint.h> for uintmax_t.

>From debidi in #netbsd on Freenode.

diffstat:

 usr.sbin/mdsetimage/mdsetimage.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r dea8bf7aea04 -r a7dd46498bc7 usr.sbin/mdsetimage/mdsetimage.c
--- a/usr.sbin/mdsetimage/mdsetimage.c  Sun Dec 18 17:58:08 2016 +0000
+++ b/usr.sbin/mdsetimage/mdsetimage.c  Sun Dec 18 18:32:24 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mdsetimage.c,v 1.23 2016/09/22 08:43:26 mlelstv Exp $  */
+/*     $NetBSD: mdsetimage.c,v 1.24 2016/12/18 18:32:24 riastradh Exp $        */
 
 /*
  * Copyright (c) 1996, 2002 Christopher G. Demetriou
@@ -37,7 +37,7 @@
 #if !defined(lint)
 __COPYRIGHT("@(#) Copyright (c) 1996\
  Christopher G. Demetriou.  All rights reserved.");
-__RCSID("$NetBSD: mdsetimage.c,v 1.23 2016/09/22 08:43:26 mlelstv Exp $");
+__RCSID("$NetBSD: mdsetimage.c,v 1.24 2016/12/18 18:32:24 riastradh Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -47,6 +47,7 @@
 #include <err.h>
 #include <fcntl.h>
 #include <limits.h>
+#include <stdint.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>



Home | Main Index | Thread Index | Old Index