Added additional file info definitions introduced in APR 0.9.5 so that we will work with older APRs (IBM HTTP Server v6).

This commit is contained in:
b1v1r
2010-02-05 18:21:09 +00:00
parent 967741dbe3
commit fa483ce717
2 changed files with 11 additions and 1 deletions

View File

@@ -22,6 +22,13 @@
#include <sys/types.h>
#include <apr_file_info.h>
#ifndef APR_WSTICKY
/* Add extra flags added to APR in 0.9.5 */
#define APR_USETID 0x8000 /**< Set user id */
#define APR_GSETID 0x4000 /**< Set group id */
#define APR_WSTICKY 0x2000 /**< Sticky bit */
#endif
#include "modsecurity.h"
int DSOLOCAL normalise_path_inplace(unsigned char *input, int len, int win, int *changed);