diff options
author | Werner Koch <wk@gnupg.org> | 2004-12-15 15:15:54 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-12-15 15:15:54 +0100 |
commit | 69967b04125e53811182a01d2700984469117339 (patch) | |
tree | 3034ccf72b4bb558187f3e1d435a92ec193e093c /common/util.h | |
parent | Yep. No lost threads anymore. (diff) | |
download | gnupg2-69967b04125e53811182a01d2700984469117339.tar.xz gnupg2-69967b04125e53811182a01d2700984469117339.zip |
A whole bunch of changes to allow building for W32.
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/util.h b/common/util.h index fad7d38cc..0b9357d3a 100644 --- a/common/util.h +++ b/common/util.h @@ -147,7 +147,9 @@ int asprintf (char **result, const char *format, ...) JNLIB_GCC_A_PRINTF(2,3); #ifndef HAVE_STRSEP char *strsep (char **stringp, const char *delim); #endif - +#ifndef HAVE_TTYNAME +char *ttyname (int fd); +#endif /*-- some macros to replace ctype ones and avoid locale problems --*/ #define spacep(p) (*(p) == ' ' || *(p) == '\t') |