]> err.no Git - util-linux/commitdiff
fdisk: exit(3) needs stdlib.h include
authormaximilian attems <max@stro.at>
Thu, 24 Jul 2008 13:22:11 +0000 (15:22 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 28 Jul 2008 09:09:42 +0000 (11:09 +0200)
partitiontype.c:57: warning: incompatible implicit declaration of built-in function ‘exit’

Signed-off-by: maximilian attems <max@stro.at>
fdisk/partitiontype.c

index 5649c72addb87da4c842b01408a79a1384eab82d..0ee44a0bab32a640140e5e5bce3048bed93c3aa6 100644 (file)
@@ -8,6 +8,7 @@
  */
 #include <stdio.h>
 #include <fcntl.h>
+#include <stdlib.h>
 
 struct aix_label {
        unsigned int   magic;