diff mbox

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

Message ID 20130718165539.15e7e327@marga.jer-c2.orkz.net (mailing list archive)
State Not Applicable
Headers show

Commit Message

Jeroen Roovers July 18, 2013, 2:55 p.m. UTC
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@gentoo.org>

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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>