mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 16:10:50 +00:00
Fixed NetBSD compile problems
This commit is contained in:
parent
21aecf4bab
commit
fbf9bcdb6f
8
redis.c
8
redis.c
@ -30,6 +30,7 @@
|
||||
#define REDIS_VERSION "0.900"
|
||||
|
||||
#include "fmacros.h"
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -38,8 +39,12 @@
|
||||
#include <unistd.h>
|
||||
#define __USE_POSIX199309
|
||||
#include <signal.h>
|
||||
|
||||
#ifdef HAVE_BACKTRACE
|
||||
#include <execinfo.h>
|
||||
#include <ucontext.h>
|
||||
#endif /* HAVE_BACKTRACE */
|
||||
|
||||
#include <sys/wait.h>
|
||||
#include <errno.h>
|
||||
#include <assert.h>
|
||||
@ -52,7 +57,6 @@
|
||||
#include <sys/time.h>
|
||||
#include <sys/resource.h>
|
||||
#include <limits.h>
|
||||
#include <execinfo.h>
|
||||
|
||||
#include "redis.h"
|
||||
#include "ae.h" /* Event driven programming library */
|
||||
@ -64,8 +68,6 @@
|
||||
#include "lzf.h" /* LZF compression library */
|
||||
#include "pqsort.h" /* Partial qsort for SORT+LIMIT */
|
||||
|
||||
#include "config.h"
|
||||
|
||||
/* Error codes */
|
||||
#define REDIS_OK 0
|
||||
#define REDIS_ERR -1
|
||||
|
Loading…
x
Reference in New Issue
Block a user