diff options
author | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-12 21:48:40 +0000 |
---|---|---|
committer | rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b <rob rob@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2004-10-12 21:48:40 +0000 |
commit | ee5de492f765f02b09fee772540017fb5ea1007e (patch) | |
tree | ce2c80ecf8f19b2ccef62ad6c90b97b47b6c9c45 /include/datafiles.h | |
parent | 61ad72831ef31065b31a49908bab487dcf6cc54f (diff) |
BUILD : 1.7.5 (391) BUGS : N/A NOTES : Code tidy, added make strict to the makefile, allowing ansi Wall pedantic to be used for compiling
git-svn-id: svn://svn.anope.org/anope/trunk@391 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@256 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'include/datafiles.h')
-rw-r--r-- | include/datafiles.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/datafiles.h b/include/datafiles.h index 4312b5af1..568f8917f 100644 --- a/include/datafiles.h +++ b/include/datafiles.h @@ -15,6 +15,8 @@ #ifndef DATAFILES_H #define DATAFILES_H +#include <sys/param.h> + /*************************************************************************/ typedef struct dbFILE_ dbFILE; @@ -23,8 +25,8 @@ struct dbFILE_ { FILE *fp; /* The normal file descriptor */ FILE *backupfp; /* Open file pointer to a backup copy of * the database file (if non-NULL) */ - char filename[PATH_MAX]; /* Name of the database file */ - char backupname[PATH_MAX]; /* Name of the backup file */ + char filename[MAXPATHLEN]; /* Name of the database file */ + char backupname[MAXPATHLEN]; /* Name of the backup file */ }; /*************************************************************************/ |