--- libeio/etp.c 2016/05/01 17:15:45 1.11 +++ libeio/etp.c 2018/08/14 09:29:50 1.12 @@ -37,15 +37,6 @@ * either the BSD or the GPL. */ -#if HAVE_SYS_PRCTL_H -# include -#endif - -#ifdef EIO_STACKSIZE -# define X_STACKSIZE EIO_STACKSIZE -#endif -#include "xthread.h" - #ifndef ETP_API_DECL # define ETP_API_DECL static #endif @@ -320,7 +311,7 @@ { #if HAVE_PRCTL_SET_NAME /* provide a more sensible "thread name" */ - char name[15 + 1]; + char name[16 + 1]; const int namelen = sizeof (name) - 1; int len;