Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 277231
Collapse All | Expand All

(-)httping-1.2.9/str.h.orig (+1 lines)
Lines 16-20 Link Here
16
#include <string.h>
16
#include <string.h>
17
17
18
#ifndef strndup
18
#ifndef strndup
19
#define strndup _strndup
19
char *strndup(char *in, int size);
20
char *strndup(char *in, int size);
20
#endif
21
#endif
(-)httping-1.2.9/str.c.orig (+1 lines)
Lines 19-24 Link Here
19
#include "utils.h"
19
#include "utils.h"
20
20
21
#ifndef strndup
21
#ifndef strndup
22
#define strndup _strndup
22
char *strndup(char *in, int size)
23
char *strndup(char *in, int size)
23
{
24
{
24
	char *out = mymalloc(size + 1, "strndup");
25
	char *out = mymalloc(size + 1, "strndup");

Return to bug 277231