summaryrefslogtreecommitdiffstats
path: root/fdisk/partitiontype.c
diff options
context:
space:
mode:
authormaximilian attems2008-07-24 15:22:11 +0200
committerKarel Zak2008-07-28 11:09:42 +0200
commit7e0c3d28e9f9c858e15847284c5614c265de032e (patch)
treee3db8f28b3a9ba7a61d535ae423c72232bb51a5f /fdisk/partitiontype.c
parentdisk-utils: include fcntl.h directly (mkfs.cramfs, raw) (diff)
downloadkernel-qcow2-util-linux-7e0c3d28e9f9c858e15847284c5614c265de032e.tar.gz
kernel-qcow2-util-linux-7e0c3d28e9f9c858e15847284c5614c265de032e.tar.xz
kernel-qcow2-util-linux-7e0c3d28e9f9c858e15847284c5614c265de032e.zip
fdisk: exit(3) needs stdlib.h include
partitiontype.c:57: warning: incompatible implicit declaration of built-in function ‘exit’ Signed-off-by: maximilian attems <max@stro.at>
Diffstat (limited to 'fdisk/partitiontype.c')
-rw-r--r--fdisk/partitiontype.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fdisk/partitiontype.c b/fdisk/partitiontype.c
index 5649c72ad..0ee44a0ba 100644
--- a/fdisk/partitiontype.c
+++ b/fdisk/partitiontype.c
@@ -8,6 +8,7 @@
*/
#include <stdio.h>
#include <fcntl.h>
+#include <stdlib.h>
struct aix_label {
unsigned int magic;