add sys/param.h

git-svn: trunk@2892
remotes/push_mirror/metadata
Tomasz Kojm 18 years ago
parent 7f0c7fe5e9
commit a087f040ee
  1. 8
      libclamav/others.h

@ -20,6 +20,10 @@
#ifndef __OTHERS_H_LC
#define __OTHERS_H_LC
#if HAVE_CONFIG_H
#include "clamav-config.h"
#endif
#include <stdio.h>
#include <stdlib.h>
#include "cltypes.h"
@ -46,6 +50,10 @@
#define CLI_MAX_ALLOCATION 184549376
#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h> /* for NAME_MAX */
#endif
/* Maximum filenames under various systems - njh */
#ifndef NAME_MAX /* e.g. Linux */
# ifdef MAXNAMELEN /* e.g. Solaris */

Loading…
Cancel
Save