Explorar el Código

Fix dirent include.

tags/1.0.4
Vsevolod Stakhov hace 8 años
padre
commit
275602c0ea
Se han modificado 2 ficheros con 6 adiciones y 0 borrados
  1. 1
    0
      CMakeLists.txt
  2. 5
    0
      config.h.in

+ 1
- 0
CMakeLists.txt Ver fichero

@@ -757,6 +757,7 @@ CHECK_INCLUDE_FILES(aio.h HAVE_AIO_H)
CHECK_INCLUDE_FILES(libaio.h HAVE_LIBAIO_H)
CHECK_INCLUDE_FILES(unistd.h HAVE_UNISTD_H)
CHECK_INCLUDE_FILES(cpuid.h HAVE_CPUID_H)
CHECK_INCLUDE_FILES(dirent.h HAVE_DIRENT_H)

# Check platform API
CHECK_FUNCTION_EXISTS(setproctitle HAVE_SETPROCTITLE)

+ 5
- 0
config.h.in Ver fichero

@@ -230,6 +230,7 @@
#cmakedefine HAVE_PCRE_JIT_FAST 1
#cmakedefine HAVE_GET_CPUID 1
#cmakedefine HAVE_CPUID_H 1
#cmakedefine HAVE_DIRENT_H 1

/* Configure allocator */
#define uthash_malloc(sz) g_slice_alloc(sz)
@@ -447,6 +448,10 @@
#include <sched.h>
#endif

#ifdef HAVE_DIRENT_H
#include <dirent.h>
#endif

#include <errno.h>
#include <signal.h>
#ifdef HAVE_SIGINFO_H

Cargando…
Cancelar
Guardar