[PATCH 2/2] status-table.c: include string.h for strcmp.

W. Trevor King wking at drexel.edu
Thu Apr 12 19:51:49 CEST 2012


* status-table.c: include string.h to avoid `warning: implicit
declaration of function 'strcmp'`.
---
 src/status-table.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/status-table.c b/src/status-table.c
index 276f70e..8060bdb 100644
--- a/src/status-table.c
+++ b/src/status-table.c
@@ -24,6 +24,7 @@
 #endif
 
 #include <stdlib.h>
+#include <string.h>
 
 #include "util.h"
 
-- 
1.7.3.4




More information about the Gnupg-devel mailing list