blob: f80f2915f65cf2ec0b05d1460eb8226d764c22c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-ab,v 1.4 2007/08/30 19:32:50 joerg Exp $
--- memcached.h.orig 2007-05-02 22:58:51.000000000 +0000
+++ memcached.h
@@ -3,6 +3,7 @@
#include "config.h"
#include <sys/types.h>
+#include <sys/socket.h>
#include <sys/time.h>
#include <netinet/in.h>
#include <event.h>
@@ -102,7 +103,7 @@ typedef struct _stritem {
uint8_t it_flags; /* ITEM_* above */
uint8_t slabs_clsid;/* which slab class we're in */
uint8_t nkey; /* key length, w/terminating null and padding */
- void * end[0];
+ void * end[];
/* then null-terminated key */
/* then " flags length\r\n" (no terminating null) */
/* then data with terminating \r\n (no terminating null; it's binary!) */
|