Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
fbf9bcdb
Commit
fbf9bcdb
authored
Jul 22, 2009
by
antirez
Browse files
Fixed NetBSD compile problems
parent
21aecf4b
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
fbf9bcdb
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment