Include inttypes.h for PRIu64.

No idea why this suddenly started to be necessary though (on
NetBSD-6.99.20/amd64).
This commit is contained in:
wiz 2013-06-13 14:35:34 +00:00
parent cf501cab1d
commit c1a95285b6
2 changed files with 7 additions and 4 deletions

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.4 2012/08/17 14:10:31 marino Exp $
$NetBSD: distinfo,v 1.5 2013/06/13 14:35:34 wiz Exp $
SHA1 (mp3fs-0.13.tar.gz) = b246bd747a32256cb8364b7ac0cc8b7a4e1d3f74
RMD160 (mp3fs-0.13.tar.gz) = 6ad1126ee22b35fe4987dd6addbc41a25c74a508
Size (mp3fs-0.13.tar.gz) = 301642 bytes
SHA1 (patch-aa) = 0013f729158988403ea7ed7aa3a3102e9531ef91
SHA1 (patch-ab) = 9b259b045decb4556dd72eeb65e0275554a93b6f
SHA1 (patch-ab) = 0e76e444566e2e0ff0c31a6aa64dcd82a931f397
SHA1 (patch-src_class.h) = 2a0c03c20ffce50c1270d552215edb052f3ecf50

View file

@ -1,12 +1,15 @@
$NetBSD: patch-ab,v 1.1.1.1 2009/07/16 14:54:02 wiz Exp $
$NetBSD: patch-ab,v 1.2 2013/06/13 14:35:34 wiz Exp $
Add inttypes.h for PRIu64.
--- src/transcode.c.orig 2008-12-14 05:24:21.000000000 +0000
+++ src/transcode.c
@@ -24,7 +24,6 @@
@@ -24,7 +24,7 @@
#include <fcntl.h>
#include <dirent.h>
#include <errno.h>
-#include <sys/statfs.h>
+#include <inttypes.h>
#include <FLAC/metadata.h>
#ifdef LEGACY_FLAC