Mercurial > hg > th-libs
diff th_util.h @ 623:893b2deeb5be
Get rid of some useless includes.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Fri, 17 Jan 2020 04:16:48 +0200 |
parents | 6d99150a8f89 |
children | 4ca6a3b30fe8 |
line wrap: on
line diff
--- a/th_util.h Fri Jan 17 04:16:32 2020 +0200 +++ b/th_util.h Fri Jan 17 04:16:48 2020 +0200 @@ -19,17 +19,14 @@ #include <stdarg.h> #include <stdlib.h> #include <unistd.h> -#include <sys/types.h> #ifndef HAVE_NO_ASSERT # include <assert.h> #endif -#ifdef HAVE_STRING_H +#if defined(HAVE_STRING_H) # include <string.h> -#else -# ifdef HAVE_STRINGS_H -# include <strings.h> -# endif +#elif defined(HAVE_STRINGS_H) +# include <strings.h> #endif #ifdef HAVE_MEMORY_H