summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2009-05-28 18:26:28 +0200
committerantirez <antirez@gmail.com>2009-05-28 18:26:28 +0200
commitedd9f775f0b51f031a04c7fc7573b276d152a74f (patch)
tree19ffb9f3928bf5c189bf9060842c8ecd392bf211
parent144d479b7cd6f503d97f9d9ef3115839a0fa53c3 (diff)
downloadredis-edd9f775f0b51f031a04c7fc7573b276d152a74f.tar.gz
minor fix for Solaris boxes
-rw-r--r--pqsort.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pqsort.c b/pqsort.c
index 8e2b12483..59dedcbc3 100644
--- a/pqsort.c
+++ b/pqsort.c
@@ -37,7 +37,9 @@
* SUCH DAMAGE.
*/
+#ifndef __P
#define __P(protos) protos
+#endif
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)