tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
small patch for cmp(1)
cmp(1) makes use of uintmax_t which is defined in stdint.h. On NetBSD
it appears that this definition is otherwise pulled in.
The same issue may exist in other files as well.
Index: regular.c
===================================================================
RCS file: /cvsroot/src/usr.bin/cmp/regular.c,v
retrieving revision 1.23
diff -u -r1.23 regular.c
--- regular.c 28 Nov 2011 10:10:10 -0000 1.23
+++ regular.c 19 Nov 2013 06:28:05 -0000
@@ -45,6 +45,7 @@
#include <err.h>
#include <limits.h>
#include <stdlib.h>
+#include <stdint.h>
#include <stdio.h>
#include "extern.h"
0001.cmp.diff (END)
--
Eitan Adler
Home |
Main Index |
Thread Index |
Old Index