fix compilation under FreeBSD: ugly name clash of LIST_FOREACH (FreeBSDs fault)

This commit is contained in:
hexcoder-
2020-03-14 13:21:39 +01:00
parent 338daa1282
commit e77c431582

View File

@ -47,7 +47,6 @@
#include "sharedmem.h"
#include "forkserver.h"
#include "common.h"
#include "list.h"
#include <stdio.h>
#include <unistd.h>
@ -102,6 +101,8 @@
#include <TargetConditionals.h>
#endif
#undef LIST_FOREACH /* clashes with FreeBSD */
#include "list.h"
#ifndef SIMPLE_FILES
#define CASE_PREFIX "id:"
#else