--- projects/libstatgrab/src/libstatgrab/tools.h 2004/04/07 09:44:08 1.23 +++ projects/libstatgrab/src/libstatgrab/tools.h 2004/04/08 10:56:13 1.24 @@ -18,11 +18,13 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA * 02111-1307 USA * - * $Id: tools.h,v 1.23 2004/04/07 09:44:08 tdb Exp $ + * $Id: tools.h,v 1.24 2004/04/08 10:56:13 tdb Exp $ */ #include +#if defined(LINUX) || defined(CYGWIN) #include +#endif #if defined(FREEBSD) || defined(DFBSD) #include #endif @@ -39,10 +41,12 @@ size_t sg_strlcpy(char *dst, const char *src, size_t s int sg_update_string(char **dest, const char *src); +#if defined(LINUX) || defined(CYGWIN) long long sg_get_ll_match(char *line, regmatch_t *match); char *sg_get_string_match(char *line, regmatch_t *match); char *sg_f_read_line(FILE *f, const char *string); +#endif #if (defined(FREEBSD) && !defined(FREEBSD5)) || defined(DFBSD) kvm_t *sg_get_kvm(void);