diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-07-12 20:55:17 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-07-12 20:55:17 +0000 |
commit | 4a728747e6f8845e500910e397dfc99aaf4a7984 (patch) | |
tree | 1a37ddef3c509c1b5ba96f50ebbfb125fc3e5958 /docs | |
parent | f5a6355172fce41ce66acf84ca645d6df2c833a8 (diff) |
make it compile fine
Diffstat (limited to 'docs')
-rw-r--r-- | docs/examples/anyauthput.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c index c5486333e..54cea0017 100644 --- 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 |