Changeset 1378 for trunk


Ignore:
Timestamp:
2013-09-22T14:54:12+02:00 (14 months ago)
Author:
moo
Message:

use config.h correctly wherever needed

Location:
trunk/xcache
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache/xc_allocator.c

    r1135 r1378  
     1#include "xcache.h" 
    12#include "xc_allocator.h" 
    23#include <string.h> 
  • trunk/xcache/xc_malloc.c

    r1135 r1378  
    55#include <string.h> 
    66 
    7 #ifdef HAVE_CONFIG_H 
    8 #include <config.h> 
    9 #endif 
    107#include "xc_shm.h" 
    118#include "xc_allocator.h" 
  • trunk/xcache/xc_shm.c

    r1135 r1378  
    11#ifdef TEST 
    2 #include <limits.h> 
    3 #include <stdio.h> 
     2#   ifdef HAVE_CONFIG_H 
     3#       include <config.h> 
     4#   endif 
     5#   include <limits.h> 
     6#   include <stdio.h> 
    47#else 
    5 #include <php.h> 
     8#   include "xcache.h" 
    69#endif 
     10#include "xc_shm.h" 
    711 
    812#include <assert.h> 
    913#include <stdlib.h> 
    1014#include <string.h> 
    11  
    12 #ifdef HAVE_CONFIG_H 
    13 #include <config.h> 
    14 #endif 
    15 #include "xc_shm.h" 
    1615 
    1716struct _xc_shm_scheme_t { 
Note: See TracChangeset for help on using the changeset viewer.