diff options
| author | Cody Logan <cody@lokken.dev> | 2023-11-29 13:33:53 -0800 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-11-29 13:33:53 -0800 |
| commit | 526b71b951f7e60f84f8ba8a6d49c66750ccd862 (patch) | |
| tree | 28eeef3bd7cd0bf7c4074bb4316952b3337a9cad | |
| parent | d67c235a4684c67339473689475aa2858e44dd69 (diff) | |
| download | convert-markdown-526b71b951f7e60f84f8ba8a6d49c66750ccd862.tar.gz convert-markdown-526b71b951f7e60f84f8ba8a6d49c66750ccd862.zip | |
Add sys/queue.h guard in header
| -rw-r--r-- | parse-file.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/parse-file.h b/parse-file.h index bb46955..b71d8dd 100644 --- a/parse-file.h +++ b/parse-file.h @@ -20,13 +20,15 @@ #include "config.h" #if HAVE_ERR -#include <err.h> +# include <err.h> #endif #include <stdio.h> #include <stdlib.h> #include <string.h> -#include <sys/queue.h> -#include <lowdown.h> +#if HAVE_SYS_QUEUE +# include <sys/queue.h> +#endif +#include "lowdown.h" void _parse_file(FILE *instream, FILE *outstream); |
