util-linux/util-linux-2.14.1-fdisk_missing_include.patch

15 lines
443 B
Diff
Raw Normal View History

Index: util-linux-ng-2.14.1/fdisk/partname.c
===================================================================
--- util-linux-ng-2.14.1.orig/fdisk/partname.c 2008-05-29 01:01:02.000000000 +0200
+++ util-linux-ng-2.14.1/fdisk/partname.c 2008-10-27 17:01:15.000000000 +0100
@@ -1,6 +1,9 @@
#include <ctype.h>
#include <stdio.h>
#include <string.h>
+#include <sys/types.h>
+#include <fcntl.h>
+#include "blkdev.h"
#include "common.h"
/*