]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Bail out of sys/queue.h lacks STAILQ
authorRoy Marples <roy@marples.name>
Wed, 20 Feb 2008 19:09:30 +0000 (19:09 +0000)
committerRoy Marples <roy@marples.name>
Wed, 20 Feb 2008 19:09:30 +0000 (19:09 +0000)
interface.h

index 9c42ec6fe31e0e87a9fcebccc240d3805e20a49f..3f42ef5cb73a2a44f5f13c6537645b5b7d01a1ca 100644 (file)
 # define IN_LINKLOCAL(addr) ((addr & IN_CLASSB_NET) == LINKLOCAL_ADDR)
 #endif
 
+#ifndef STAILQ_ENTRY
+# error "your sys/queue.h is too old and lacks STAILQ"
+#endif
+
 #define NSTAILQ_FOREACH(var, head, field) \
                if (head) STAILQ_FOREACH (var, head, field)