summaryrefslogtreecommitdiffstats
path: root/lib/queue.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2014-07-29 11:41:54 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-08-18 01:50:19 +0200
commit16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058 (patch)
treef1abb4a88c2677f1e405a855be200056c5c2bc4e /lib/queue.h
parentisisd: don't require IPv4 for adjacency (diff)
downloadfrr-16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058.tar.xz
frr-16ffb26fbbf8b3d1fee7a14eb401ecb02eed5058.zip
*: fix detection and usage of sys/cdefs.h
This header is non-standard (though present on many systems) and there is no standard for what it should or should not define. Remove it where it is not really needed. But add also a configure check, so it can be used if available but otherwise fallback to defining the needed macroes. Signed-off-by: Timo Teräs <timo.teras@iki.fi> Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/queue.h')
-rw-r--r--lib/queue.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/queue.h b/lib/queue.h
index 70cffab1b..48b363e24 100644
--- a/lib/queue.h
+++ b/lib/queue.h
@@ -33,8 +33,6 @@
#ifndef _SYS_QUEUE_H_
#define _SYS_QUEUE_H_
-#include <sys/cdefs.h>
-
/*
* This file defines four types of data structures: singly-linked lists,
* singly-linked tail queues, lists and tail queues.