From 0f284beb67680a152a86e0bec70808ee40e471dc Mon Sep 17 00:00:00 2001 From: Gregor Beck Date: Thu, 6 Sep 2012 11:52:58 +0200 Subject: s3:lib: use includes.h with cbuf and srprs hopefully fixes build on hpux Signed-off-by: Stefan Metzmacher --- source3/lib/cbuf.h | 5 ----- source3/lib/srprs.c | 5 +---- source3/lib/srprs.h | 3 --- 3 files changed, 1 insertion(+), 12 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/cbuf.h b/source3/lib/cbuf.h index 90318ec7a9..b9c5552826 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 5a032d27b6..35920f18c2 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 350e08c2c1..c1aec13e4a 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; /** -- cgit