Browse Source

use config.h correctly wherever needed

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1378 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.1
Xuefer 8 years ago
parent
commit
179c9cd834
  1. 1
      xcache/xc_allocator.c
  2. 3
      xcache/xc_malloc.c
  3. 15
      xcache/xc_shm.c

1
xcache/xc_allocator.c

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

3
xcache/xc_malloc.c

@ -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

15
xcache/xc_shm.c

@ -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