Commit f3580477 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Pull in ../../config.h when running flexelint.

Only include compat headers if we need them.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@793 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 236b544f
......@@ -30,7 +30,9 @@
#include <sys/types.h>
#include <sys/socket.h>
#ifndef HAVE_SRANDOMDEV
#include "compat/srandomdev.h"
#endif
#include "heritage.h"
#include "shmlog.h"
......
......@@ -2,6 +2,8 @@
+libh mgt_event.h
-header(../../config.h)
// Fix strchr() semtics, it can only return NULL if arg2 != 0
-sem(strchr, 1p, type(1), 2n == 0 ? (@p < 1p) : (@p < 1p || @p == 0 ))
......
......@@ -5,7 +5,6 @@ flexelint \
-I/usr/include \
-I. \
-I../../include \
-DHAVE_KQUEUE \
flint.lnt \
*.c > $T 2>&1
......
......@@ -17,7 +17,9 @@
#include <err.h> /* XXX */
#ifndef HAVE_SETPROCTITLE
#include "compat/setproctitle.h"
#endif
#include "heritage.h"
#include "mgt.h"
......
......@@ -13,7 +13,10 @@
#include <string.h>
#include <unistd.h>
#ifndef HAVE_VASPRINTF
#include "compat/vasprintf.h"
#endif
#include "cli_priv.h"
#include "cli.h"
#include "vsb.h"
......
......@@ -23,7 +23,9 @@
#include <string.h>
#include <unistd.h>
#ifndef HAVE_ASPRINTF
#include "compat/asprintf.h"
#endif
#include "shmlog.h"
#include "cache.h"
......
......@@ -13,7 +13,9 @@
#include <string.h>
#include <unistd.h>
#ifndef HAVE_STRLCPY
#include "compat/strlcpy.h"
#endif
#include "heritage.h"
#include "mgt.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment