1
0
Fork 0

use config.h correctly wherever needed

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1378 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 10 years ago
parent d09d60607e
commit 179c9cd834

@ -1,3 +1,4 @@
#include "xcache.h"
#include "xc_allocator.h"
#include <string.h>
#include <stdio.h>

@ -4,9 +4,6 @@
#include <stdio.h>
#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "xc_shm.h"
#include "xc_allocator.h"
#ifndef TEST

@ -1,19 +1,18 @@
#ifdef TEST
#include <limits.h>
#include <stdio.h>
# ifdef HAVE_CONFIG_H
# include <config.h>
# endif
# include <limits.h>
# include <stdio.h>
#else
#include <php.h>
# include "xcache.h"
#endif
#include "xc_shm.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "xc_shm.h"
struct _xc_shm_scheme_t {
const char *name;
const xc_shm_handlers_t *handlers;

Loading…
Cancel
Save