diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/iobuf.h | 2 | ||||
-rw-r--r-- | include/util.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/iobuf.h b/include/iobuf.h index e381445a5..81e23f267 100644 --- a/include/iobuf.h +++ b/include/iobuf.h @@ -54,7 +54,7 @@ struct iobuf_struct { IOBUF chain; /* next iobuf used for i/o if any (passed to filter) */ int no, subno; const char *desc; - void *opaque; /* can be used to old any information */ + void *opaque; /* can be used to hold any information */ /* this value is copied to all instances */ }; diff --git a/include/util.h b/include/util.h index a33b7f21f..fe834e1a2 100644 --- a/include/util.h +++ b/include/util.h @@ -121,7 +121,9 @@ char *stpcpy(char *a,const char *b); #ifndef HAVE_STRLWR char *strlwr(char *a); #endif - +#ifndef HAVE_STRTOUL + #define strtoul(a,b,c) ((unsigned long)strtol((a),(b),(c))) +#endif /******** some macros ************/ #ifndef STR |