Skip to content

Commit

Permalink
Always prefer local version of queue.h over any system provided one
Browse files Browse the repository at this point in the history
Possible root cause for issue #168, trouble building on Debian/kFreeBSD.

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Sep 23, 2021
1 parent 6dd3b87 commit 8a022fa
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 3 deletions.
2 changes: 2 additions & 0 deletions src/iface.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "queue.h"

#include <errno.h>
#include <string.h>
#include <stdio.h>
Expand Down
1 change: 1 addition & 0 deletions src/mcgroup.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

#include "config.h"
#include "queue.h"

#include <errno.h>
#include <stdio.h>
Expand Down
2 changes: 1 addition & 1 deletion src/mrdisc.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#endif

#include "config.h"
#include "queue.h"

#include <errno.h>
#include <string.h>
Expand All @@ -45,7 +46,6 @@

#include "log.h"
#include "mrdisc.h"
#include "queue.h"
#include "socket.h"
#include "timer.h"
#include "util.h"
Expand Down
1 change: 1 addition & 0 deletions src/mroute.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
*/

#include "config.h"
#include "queue.h"

#include <errno.h>
#include <string.h>
Expand Down
2 changes: 1 addition & 1 deletion src/socket.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
*/

#include "config.h"
#include "queue.h"

#include <errno.h>
#ifdef HAVE_FCNTL_H
Expand All @@ -34,7 +35,6 @@
#include <sys/types.h>

#include "log.h"
#include "queue.h"

struct sock {
LIST_ENTRY(sock) link;
Expand Down
3 changes: 2 additions & 1 deletion src/timer.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/

#include "queue.h"

#include <errno.h>
#include <signal.h>
#include <string.h> /* memset() */
Expand All @@ -26,7 +28,6 @@
#include <time.h>

#include "log.h"
#include "queue.h"
#include "socket.h"
#include "timer.h"

Expand Down

0 comments on commit 8a022fa

Please sign in to comment.