Commit 077125e4 authored by Yang Tse's avatar Yang Tse
Browse files

include libcurl standard internal headers

parent df06182d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -24,6 +24,13 @@

#include "curl_fnmatch.h"

#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>

#include "curl_memory.h"
/* The last #include file should be: */
#include "memdebug.h"

#define CURLFNM_CHARSET_LEN (sizeof(char) * 256)
#define CURLFNM_CHSET_SIZE (CURLFNM_CHARSET_LEN + 15)

+1 −1
Original line number Diff line number Diff line
@@ -64,4 +64,4 @@ int Curl_HMAC_final(HMAC_context * context, unsigned char * result);

#endif

#endif
#endif /* HEADER_CURL_HMAC_H */
+7 −0
Original line number Diff line number Diff line
@@ -31,6 +31,13 @@
#include <curl/curl.h>
#include <librtmp/rtmp.h>

#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>

#include "curl_memory.h"
/* The last #include file should be: */
#include "memdebug.h"

#ifdef _WIN32
#define setsockopt(a,b,c,d,e) (setsockopt)(a,b,c,(const char *)d,(int)e)
#define SET_RCVTIMEO(tv,s)   int tv = s*1000
+3 −4
Original line number Diff line number Diff line
#ifndef __CURL_RTMP_H
#define __CURL_RTMP_H

#ifndef HEADER_CURL_RTMP_H
#define HEADER_CURL_RTMP_H
/***************************************************************************
 *                                  _   _ ____  _
 *  Project                     ___| | | |  _ \| |
@@ -31,4 +30,4 @@ extern const struct Curl_handler Curl_handler_rtmps;
extern const struct Curl_handler Curl_handler_rtmpts;
#endif

#endif /* __CURL_RTMP_H */
#endif /* HEADER_CURL_RTMP_H */
+7 −0
Original line number Diff line number Diff line
@@ -26,6 +26,13 @@
#include "strdup.h"
#include "fileinfo.h"

#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>

#include "curl_memory.h"
/* The last #include file should be: */
#include "memdebug.h"

struct curl_fileinfo *Curl_fileinfo_alloc(void)
{
  struct curl_fileinfo *tmp = malloc(sizeof(struct curl_fileinfo));
Loading