From: Gregor Beck Date: Thu, 6 Sep 2012 09:52:58 +0000 (+0200) Subject: s3:lib: use includes.h with cbuf and srprs X-Git-Tag: samba-4.0.0rc1~137 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0f284beb67680a152a86e0bec70808ee40e471dc;p=thirdparty%2Fsamba.git s3:lib: use includes.h with cbuf and srprs hopefully fixes build on hpux Signed-off-by: Stefan Metzmacher --- diff --git a/source3/lib/cbuf.h b/source3/lib/cbuf.h index 90318ec7a99..b9c55528269 100644 --- a/source3/lib/cbuf.h +++ b/source3/lib/cbuf.h @@ -29,11 +29,6 @@ #ifndef __CBUF_H #define __CBUF_H -#include -#include -#include - - struct cbuf; typedef struct cbuf cbuf; diff --git a/source3/lib/srprs.c b/source3/lib/srprs.c index 5a032d27b6e..35920f18c21 100644 --- a/source3/lib/srprs.c +++ b/source3/lib/srprs.c @@ -24,12 +24,9 @@ * @brief A simple recursive parser. */ +#include "includes.h" #include "srprs.h" #include "cbuf.h" -#include -#include -#include -#include bool srprs_skipws(const char** ptr) { while (isspace(**ptr)) diff --git a/source3/lib/srprs.h b/source3/lib/srprs.h index 350e08c2c18..c1aec13e4af 100644 --- a/source3/lib/srprs.h +++ b/source3/lib/srprs.h @@ -34,9 +34,6 @@ #ifndef __SRPRS_H #define __SRPRS_H -#include -#include -#include struct cbuf; /**