fix compilation under FreeBSD: ugly name clash of LIST_FOREACH (FreeBSDs fault)
#include "sharedmem.h"
#include "forkserver.h"
#include "common.h"
-#include "list.h"
#include <stdio.h>
#include <unistd.h>
#include <TargetConditionals.h>
#endif
+#undef LIST_FOREACH /* clashes with FreeBSD */
+#include "list.h"
#ifndef SIMPLE_FILES
#define CASE_PREFIX "id:"
#else
