aboutsummaryrefslogtreecommitdiff
path: root/src/examples
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2008-07-20 20:42:21 +0000
committerChristian Grothoff <christian@grothoff.org>2008-07-20 20:42:21 +0000
commit075c3c42032e2e279987d21fb646c4f8302e1f93 (patch)
treecf7d7fc8f7e426f717440ed781e9f9f3d0f896c6 /src/examples
parent5ed0d3c8717e714c605ebd00c91ab53b7fdc01a6 (diff)
downloadlibmicrohttpd-075c3c42032e2e279987d21fb646c4f8302e1f93.tar.gz
libmicrohttpd-075c3c42032e2e279987d21fb646c4f8302e1f93.zip
fixing z/OS build issues
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/authorization_example.c8
-rw-r--r--src/examples/fileserver_example.c8
-rw-r--r--src/examples/fileserver_example_external_select.c8
-rw-r--r--src/examples/https_server_example.c8
-rw-r--r--src/examples/minimal_example.c8
-rw-r--r--src/examples/querystring_example.c8
6 files changed, 6 insertions, 42 deletions
diff --git a/src/examples/authorization_example.c b/src/examples/authorization_example.c
index 9c7185e5..8d661f25 100644
--- a/src/examples/authorization_example.c
+++ b/src/examples/authorization_example.c
@@ -23,14 +23,8 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25 25
26#include "config.h" 26#include "platform.h"
27#include <microhttpd.h> 27#include <microhttpd.h>
28#include <stdlib.h>
29#ifndef MINGW
30#include <unistd.h>
31#endif
32#include <string.h>
33#include <stdio.h>
34 28
35#define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" 29#define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>"
36 30
diff --git a/src/examples/fileserver_example.c b/src/examples/fileserver_example.c
index 139b606d..21e58d1f 100644
--- a/src/examples/fileserver_example.c
+++ b/src/examples/fileserver_example.c
@@ -23,16 +23,10 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25 25
26#include "config.h" 26#include "platform.h"
27#include <microhttpd.h> 27#include <microhttpd.h>
28#include <stdlib.h>
29#include <sys/types.h>
30#include <sys/stat.h> 28#include <sys/stat.h>
31#ifndef MINGW
32#include <unistd.h> 29#include <unistd.h>
33#endif
34#include <string.h>
35#include <stdio.h>
36 30
37#define PAGE "<html><head><title>File not found</title></head><body>File not found</body></html>" 31#define PAGE "<html><head><title>File not found</title></head><body>File not found</body></html>"
38 32
diff --git a/src/examples/fileserver_example_external_select.c b/src/examples/fileserver_example_external_select.c
index b4bdc91e..e3762abf 100644
--- a/src/examples/fileserver_example_external_select.c
+++ b/src/examples/fileserver_example_external_select.c
@@ -22,16 +22,10 @@
22 * @author Christian Grothoff 22 * @author Christian Grothoff
23 */ 23 */
24 24
25#include "config.h" 25#include "platform.h"
26#include <microhttpd.h> 26#include <microhttpd.h>
27#include <stdlib.h>
28#include <sys/types.h>
29#include <sys/stat.h> 27#include <sys/stat.h>
30#ifndef MINGW
31#include <unistd.h> 28#include <unistd.h>
32#endif
33#include <string.h>
34#include <stdio.h>
35 29
36#define PAGE "<html><head><title>File not found</title></head><body>File not found</body></html>" 30#define PAGE "<html><head><title>File not found</title></head><body>File not found</body></html>"
37 31
diff --git a/src/examples/https_server_example.c b/src/examples/https_server_example.c
index 0763f36d..126b29d3 100644
--- a/src/examples/https_server_example.c
+++ b/src/examples/https_server_example.c
@@ -34,16 +34,10 @@
34 * @author Sagie Amir 34 * @author Sagie Amir
35 */ 35 */
36 36
37#include "config.h" 37#include "platform.h"
38#include <microhttpsd.h> 38#include <microhttpsd.h>
39#include <sys/stat.h> 39#include <sys/stat.h>
40 40
41#include <stdlib.h>
42#ifndef MINGW
43#include <unistd.h>
44#endif
45#include <string.h>
46#include <stdio.h>
47#include "gnutls.h" 41#include "gnutls.h"
48#include <gcrypt.h> 42#include <gcrypt.h>
49 43
diff --git a/src/examples/minimal_example.c b/src/examples/minimal_example.c
index 4bbbd94e..c65b4f89 100644
--- a/src/examples/minimal_example.c
+++ b/src/examples/minimal_example.c
@@ -22,14 +22,8 @@
22 * @author Christian Grothoff 22 * @author Christian Grothoff
23 */ 23 */
24 24
25#include "config.h" 25#include "platform.h"
26#include <microhttpd.h> 26#include <microhttpd.h>
27#include <stdlib.h>
28#ifndef MINGW
29#include <unistd.h>
30#endif
31#include <string.h>
32#include <stdio.h>
33 27
34#define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>" 28#define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>libmicrohttpd demo</body></html>"
35 29
diff --git a/src/examples/querystring_example.c b/src/examples/querystring_example.c
index 1e48c2ce..d3b53693 100644
--- a/src/examples/querystring_example.c
+++ b/src/examples/querystring_example.c
@@ -23,14 +23,8 @@
23 * @author Christian Grothoff 23 * @author Christian Grothoff
24 */ 24 */
25 25
26#include "config.h" 26#include "platform.h"
27#include <microhttpd.h> 27#include <microhttpd.h>
28#include <stdlib.h>
29#ifndef MINGW
30#include <unistd.h>
31#endif
32#include <string.h>
33#include <stdio.h>
34 28
35#define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>Query string for &quot;%s&quot; was &quot;%s&quot;</body></html>" 29#define PAGE "<html><head><title>libmicrohttpd demo</title></head><body>Query string for &quot;%s&quot; was &quot;%s&quot;</body></html>"
36 30