parted/parted-no-inttypes-include

28 lines
797 B
Plaintext

Index: parted-1.8.8/libparted/fs/ext2/ext2.h
===================================================================
--- parted-1.8.8.orig/libparted/fs/ext2/ext2.h
+++ parted-1.8.8/libparted/fs/ext2/ext2.h
@@ -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.8.8/libparted/labels/gpt.c
===================================================================
--- parted-1.8.8.orig/libparted/labels/gpt.c
+++ parted-1.8.8/libparted/labels/gpt.c
@@ -31,7 +31,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>