examples: tidy-up headers and includes

To have a more similar layout across examples.

Closes #19580
This commit is contained in:
Viktor Szakats 2025-11-17 23:48:39 +01:00
parent 0a2618b265
commit 3c7cf8eac3
No known key found for this signature in database
GPG key ID: B5ABD165E2AEF201
96 changed files with 116 additions and 121 deletions

View file

@ -58,21 +58,22 @@ This is purely a demo app, all retrieved data is simply discarded by the write
callback.
*/
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
#include <sys/cdefs.h>
#include <sys/poll.h>
#include <sys/stat.h>
#include <sys/time.h>
#include <time.h>
#include <unistd.h>
#include <sys/poll.h>
#include <curl/curl.h>
#include <event2/event.h>
#include <event2/event_struct.h>
#include <fcntl.h>
#include <sys/stat.h>
#include <errno.h>
#include <sys/cdefs.h>
#define MSG_OUT stdout /* Send info to stdout, change to stderr if you want */