aboutsummaryrefslogtreecommitdiffstats
path: root/include/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-10-06 12:10:02 +0000
committerWerner Koch <[email protected]>1998-10-06 12:10:02 +0000
commitf04db5631158b3856ea11f300d02a03c7e15ede4 (patch)
tree6cd9c2416b65118f4da0aeceb6be2a7f1763e258 /include/util.h
parent*** empty log message *** (diff)
downloadgnupg-f04db5631158b3856ea11f300d02a03c7e15ede4.tar.gz
gnupg-f04db5631158b3856ea11f300d02a03c7e15ede4.zip
windoze version works again
Diffstat (limited to '')
-rw-r--r--include/util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/util.h b/include/util.h
index 05610452c..a79b8ef72 100644
--- a/include/util.h
+++ b/include/util.h
@@ -146,13 +146,16 @@ STRLIST add_to_strlist( STRLIST *list, const char *string );
STRLIST append_to_strlist( STRLIST *list, const char *string );
STRLIST strlist_prev( STRLIST head, STRLIST node );
STRLIST strlist_last( STRLIST node );
-int memicmp( const char *a, const char *b, size_t n );
const char *memistr( const char *buf, size_t buflen, const char *sub );
char *mem2str( char *, const void *, size_t);
char *trim_spaces( char *string );
int string_count_chr( const char *string, int c );
#define stricmp(a,b) strcasecmp((a),(b))
+
+#ifndef HAVE_MEMICMP
+int memicmp( const char *a, const char *b, size_t n );
+#endif
#ifndef HAVE_STPCPY
char *stpcpy(char *a,const char *b);
#endif