diff --git a/appl/ftp/ftpd/extern.h b/appl/ftp/ftpd/extern.h index f9b800fee..e9f50f95b 100644 --- a/appl/ftp/ftpd/extern.h +++ b/appl/ftp/ftpd/extern.h @@ -36,6 +36,9 @@ #ifndef _EXTERN_H_ #define _EXTERN_H_ +#ifdef HAVE_SYS_TYPES_H +#include +#endif #ifdef HAVE_NETINET_IN_H #include #endif @@ -49,8 +52,10 @@ #ifdef HAVE_PWD_H #include #endif -#ifdef HAVE_SYS_TYPES_H -#include + +#ifndef NBBY +#include +#define NBBY CHAR_BIT #endif void abor(void);