diff options
| author | David M. Syzdek <david@syzdek.net> | 2022-01-24 17:15:13 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2022-01-24 17:15:13 -0900 |
| commit | 2da85ec7c0f31cb94256d4f36fde5bd48f53dbed (patch) | |
| tree | 35b7f8c07b15b5970feb3bf10a9ac070065f4c6a /examples | |
| parent | 10376edb117b5523da27e0db82d09562f3c59447 (diff) | |
| download | tinyrad-2da85ec7c0f31cb94256d4f36fde5bd48f53dbed.tar.gz tinyrad-2da85ec7c0f31cb94256d4f36fde5bd48f53dbed.tar.bz2 tinyrad-2da85ec7c0f31cb94256d4f36fde5bd48f53dbed.tar.xz tinyrad-2da85ec7c0f31cb94256d4f36fde5bd48f53dbed.zip | |
examples: cleaning up header include order
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/socket-example.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/examples/socket-example.c b/examples/socket-example.c index 7db26bb..18d3a88 100644 --- a/examples/socket-example.c +++ b/examples/socket-example.c | |||
| @@ -38,6 +38,12 @@ | |||
| 38 | /////////////// | 38 | /////////////// |
| 39 | #pragma mark - Headers | 39 | #pragma mark - Headers |
| 40 | 40 | ||
| 41 | #include <tinyrad_compat.h> | ||
| 42 | |||
| 43 | #ifdef HAVE_CONFIG_H | ||
| 44 | # include "config.h" | ||
| 45 | #endif | ||
| 46 | |||
| 41 | #include <stdio.h> | 47 | #include <stdio.h> |
| 42 | #include <stdarg.h> | 48 | #include <stdarg.h> |
| 43 | #include <stdlib.h> | 49 | #include <stdlib.h> |
| @@ -53,10 +59,6 @@ | |||
| 53 | #include <stdarg.h> | 59 | #include <stdarg.h> |
| 54 | #include <poll.h> | 60 | #include <poll.h> |
| 55 | 61 | ||
| 56 | #ifdef HAVE_CONFIG_H | ||
| 57 | #include "config.h" | ||
| 58 | #endif | ||
| 59 | |||
| 60 | 62 | ||
| 61 | /////////////////// | 63 | /////////////////// |
| 62 | // // | 64 | // // |
