From a462ba41a02abf9377e3166053fcdf79a4786335 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sun, 17 Aug 1997 07:25:46 +0000 Subject: [PATCH] define NBBY if needed git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3038 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/ftp/ftpd/extern.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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);