Commit 98eab179 authored by Tollef Fog Heen's avatar Tollef Fog Heen

Include relevant bit of ansidecl.h directly

Avoids build-dependency on binutils-dev


git-svn-id: http://www.varnish-cache.org/svn/trunk@3430 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 822625c3
...@@ -197,10 +197,20 @@ ...@@ -197,10 +197,20 @@
#include <unistd.h> #include <unistd.h>
#include <fcntl.h> #include <fcntl.h>
#include <pthread.h> #include <pthread.h>
#include <ansidecl.h>
#include "rb.h" #include "rb.h"
/* Prevent -Werror to complain about unused parameters when compiling
with non-ancient GCC. Added directly here instead of grabbed from
ansidecl.h to save a build dependency on binutils-dev */
#if __GNUC__ >= 3
#ifndef ATTRIBUTE_UNUSED
#define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
#endif /* ATTRIBUTE_UNUSED */
#else
#define ATTRIBUTE_UNUSED
#endif
#ifdef MALLOC_DEBUG #ifdef MALLOC_DEBUG
/* Disable inlining to make debugging easier. */ /* Disable inlining to make debugging easier. */
# define inline # define inline
......
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