parted/parted-no-inttypes-include

28 lines
941 B
Plaintext

Index: parted-1.9.0/libparted/fs/ext2/ext2.h
===================================================================
--- parted-1.9.0.orig/libparted/fs/ext2/ext2.h 2009-07-23 19:52:08.000000000 +0200
+++ parted-1.9.0/libparted/fs/ext2/ext2.h 2009-07-30 16:28:45.000000000 +0200
@@ -24,10 +24,6 @@
#include <sys/types.h>
#include "tune.h"
-#if HAVE_INTTYPES_H
-# include <inttypes.h>
-#endif
-
#if ENABLE_NLS
# include <libintl.h>
# define _(String) dgettext (PACKAGE, String)
Index: parted-1.9.0/libparted/labels/gpt.c
===================================================================
--- parted-1.9.0.orig/libparted/labels/gpt.c 2009-07-30 16:28:44.000000000 +0200
+++ parted-1.9.0/libparted/labels/gpt.c 2009-07-30 16:28:45.000000000 +0200
@@ -30,7 +30,6 @@
#include <parted/debug.h>
#include <parted/endian.h>
#include <parted/crc32.h>
-#include <inttypes.h>
#include <stdio.h>
#include <sys/types.h>
#include <sys/ioctl.h>