summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.bin/gprof/gprof.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.bin/gprof/gprof.h b/usr.bin/gprof/gprof.h
index 31bada9b8f02..afe435745caf 100644
--- a/usr.bin/gprof/gprof.h
+++ b/usr.bin/gprof/gprof.h
@@ -81,7 +81,11 @@ typedef int bool;
*/
long hz;
+#ifdef GPROF4
+typedef unsigned int UNIT;
+#else
typedef u_short UNIT; /* unit of profiling */
+#endif
char *a_outname;
#define A_OUTNAME "a.out"