Commit 4a728747 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

make it compile fine

parent f5a63551
Loading
Loading
Loading
Loading
+5 −0
Original line number Original line Diff line number Diff line
@@ -11,6 +11,7 @@
#include <stdio.h>
#include <stdio.h>
#include <fcntl.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <sys/stat.h>
#include <unistd.h>


#include <curl/curl.h>
#include <curl/curl.h>


@@ -18,6 +19,10 @@
#error "upgrade your libcurl to no less than 7.12.3"
#error "upgrade your libcurl to no less than 7.12.3"
#endif
#endif


#ifndef TRUE
#define TRUE 1
#endif

/*
/*
 * This example shows a HTTP PUT operation with authentiction using "any"
 * This example shows a HTTP PUT operation with authentiction using "any"
 * type. It PUTs a file given as a command line argument to the URL also given
 * type. It PUTs a file given as a command line argument to the URL also given