aboutsummaryrefslogtreecommitdiffstats
path: root/src/url.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/url.h b/src/url.h
index 6987c38d1..4964feadc 100644
--- a/src/url.h
+++ b/src/url.h
@@ -4,9 +4,11 @@
#include <sys/types.h>
#include <sys/socket.h>
-#ifndef HAVE_OWN_QUEUE_H
+#include "config.h"
+#if !defined(HAVE_OWN_QUEUE_H) && defined(HAVE_SYS_QUEUE_H)
#include <sys/queue.h>
-#else
+#endif
+#ifdef HAVE_OWN_QUEUE_H
#include "queue.h"
#endif