projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f5a6355
)
make it compile fine
author
Daniel Stenberg
<daniel@haxx.se>
Thu, 12 Jul 2007 20:55:17 +0000
(20:55 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Thu, 12 Jul 2007 20:55:17 +0000
(20:55 +0000)
docs/examples/anyauthput.c
patch
|
blob
|
history
diff --git
a/docs/examples/anyauthput.c
b/docs/examples/anyauthput.c
index
c548633
..
54cea00
100644
(file)
--- a/
docs/examples/anyauthput.c
+++ b/
docs/examples/anyauthput.c
@@
-11,6
+11,7
@@
#include <stdio.h>
#include <fcntl.h>
#include <sys/stat.h>
+#include <unistd.h>
#include <curl/curl.h>
@@
-18,6
+19,10
@@
#error "upgrade your libcurl to no less than 7.12.3"
#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+
/*
* 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