From cb1b44e2348ef26a24bbcb6a2c00ba94e372c189 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Wed, 7 May 2014 21:08:49 -0700 Subject: Correct #include location. sys/uio.h should be included in amqp_private.h and not amqp.h, it also should not be protected by a test for the GCC compiler. This should fix the issue with compiling rabbitmq-c on HP-UX using aCC. This fixes #183. --- librabbitmq/amqp.h | 1 - librabbitmq/amqp_private.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'librabbitmq') diff --git a/librabbitmq/amqp.h b/librabbitmq/amqp.h index 82b7c02..441e5b9 100644 --- a/librabbitmq/amqp.h +++ b/librabbitmq/amqp.h @@ -113,7 +113,6 @@ # define AMQP_CALL __cdecl #elif defined(__GNUC__) && __GNUC__ >= 4 -# include # define AMQP_PUBLIC_FUNCTION \ __attribute__ ((visibility ("default"))) # define AMQP_PUBLIC_VARIABLE \ diff --git a/librabbitmq/amqp_private.h b/librabbitmq/amqp_private.h index c2e63c3..e11ce16 100644 --- a/librabbitmq/amqp_private.h +++ b/librabbitmq/amqp_private.h @@ -57,6 +57,7 @@ # include #else # include +# include #endif /* GCC attributes */ -- cgit v1.2.1