diff options
| author | Roy Marples <roy@marples.name> | 2014-11-10 16:56:32 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2014-11-10 16:56:32 +0000 |
| commit | bc09d81de28883995da42e6de2640648275df151 (patch) | |
| tree | 729a0329d6b4bb492bbd529bb929a7ea30ab0245 /configure | |
| parent | 76dc9cd65d25efe05464361db40456245f113a7b (diff) | |
| download | dhcpcd-bc09d81de28883995da42e6de2640648275df151.tar.xz | |
TAILQ is now inlcuded via config.h either via sys/queue.h or compat/queue.h.
This allows dhcpcd to compile on systems that do not even supply sys/queue.h,
such as the musl C library.
Thanks to Juan RP.
Diffstat (limited to 'configure')
| -rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -687,6 +687,8 @@ EOF fi if [ "$TAILQ_FOREACH_SAFE" = no -o "$TAILQ_CONCAT" = no ]; then echo "#include \"compat/queue.h\"">>$CONFIG_H +else + echo "#include <sys/queue.h>" >>$CONFIG_H fi if [ -z "$POSIX_SPAWN" ]; then |
