File: 01-Includes

package info (click to toggle)
scrub 2.6.1-1
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, stretch
  • size: 1,924 kB
  • ctags: 422
  • sloc: sh: 10,438; ansic: 3,747; makefile: 82
file content (13 lines) | stat: -rw-r--r-- 481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Fixes missing inttypes.h include in src/getsize.c
Author: Roy Jamison <xteejyx@googlemail.com>
Bug-Ubuntu: https://launchpad.net/bugs/674187
--- a/src/getsize.c
+++ b/src/getsize.c
@@ -45,6 +45,7 @@ extern char *prog;
 /* scrub-1.7 tested linux 2.6.11-1.1369_FC4 */
 /* scrub-1.8 tested Fedora Core 5 */
 #include <sys/ioctl.h>
+#include <inttypes.h>
 #include <linux/fs.h>
 #include <sys/utsname.h>
 typedef unsigned long long u64; /* for BLKGETSIZE64 (slackware) */