fix build for linux without strl functions - tscrape - twitter scraper
HTML git clone git://git.codemadness.org/tscrape
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 6113eb1f0da5300dca65f4e5bf8bc786fb186ecc
DIR parent f3b36a9f13389c1e912db89a5fe6d53b08f2b6e1
HTML Author: Alexander Huemer <alexander.huemer@xx.vu>
Date: Fri, 18 Sep 2015 00:05:28 +0200
fix build for linux without strl functions
Diffstat:
M tscrape.c | 1 +
M xml.h | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
---
DIR diff --git a/tscrape.c b/tscrape.c
@@ -8,6 +8,7 @@
#include <string.h>
#include <time.h>
+#include "compat.h"
#include "xml.h"
#define STRP(s) s,sizeof(s)-1
DIR diff --git a/xml.h b/xml.h
@@ -1,3 +1,5 @@
+#include <stdint.h>
+
typedef struct xmlparser {
/* handlers */
void (*xmlattr)(struct xmlparser *, const char *, size_t,