[patch] partitiontype: exit(3) needs stdlib.h include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



partitiontype.c:57: warning: incompatible implicit declaration of built-in function ‘exit’

Signed-off-by: maximilian attems <max@xxxxxxx>

diff --git a/fdisk/partitiontype.c b/fdisk/partitiontype.c
index 5649c72..0ee44a0 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;
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux