t6026-merge-attr: don't fail if sleep exits early
[gitweb.git] / list.h
diff --git a/list.h b/list.h
index f65edce14888a84ef0860edf8ec7523470ed2468..a226a870dc09d6b58346a92d5f98078d2e55163a 100644 (file)
--- a/list.h
+++ b/list.h
@@ -36,6 +36,8 @@ struct list_head {
        struct list_head *next, *prev;
 };
 
+/* avoid conflicts with BSD-only sys/queue.h */
+#undef LIST_HEAD
 /* Define a variable with the head and tail of the list. */
 #define LIST_HEAD(name) \
        struct list_head name = { &(name), &(name) }