Include sys/param.h conditionally.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2012-01-04 14:44:01 +03:00 committed by Slava Zanko
parent f7f37f674e
commit aadf01f390
2 changed files with 4 additions and 0 deletions

View File

@ -46,7 +46,9 @@
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/wait.h>

View File

@ -87,7 +87,9 @@ What to do with this?
#endif
#include <arpa/ftp.h>
#include <arpa/telnet.h>
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
#include <errno.h>
#include <ctype.h>
#include <fcntl.h>