[PATCH] palo/paloio.c:64: warning: implicit declaration of function 'memcmp'

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

 



I have been carrying this patch in the Gentoo repository[1] for quite a
while now.

[1]
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-boot/palo/files/palo-1.18-include.patch?view=log

Add missing include for memcmp.

Signed-off-by: Jeroen Roovers <jer@xxxxxxxxxx>

diff --git a/palo/paloio.c b/palo/paloio.c
index 518c6a5..64e8e45 100644
--- a/a/palo/paloio.c
+++ b/b/palo/paloio.c
@@ -7,6 +7,7 @@
  */
 #include <unistd.h>
 #include <stdio.h>
+#include <string.h>
 #include <errno.h>
 #include <sys/types.h>
 #include <sys/stat.h>
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux