diff options
author | Gregor Beck <gbeck@sernet.de> | 2012-09-06 11:52:58 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-09-07 23:39:45 +0200 |
commit | 0f284beb67680a152a86e0bec70808ee40e471dc (patch) | |
tree | 69eb90ff4ff90aff64348d4579ffb99377c0de73 | |
parent | 4931a9010fe9fc1a9b3aafd1203a7acfaa1a5b2e (diff) | |
download | samba-0f284beb67680a152a86e0bec70808ee40e471dc.tar.gz samba-0f284beb67680a152a86e0bec70808ee40e471dc.tar.bz2 samba-0f284beb67680a152a86e0bec70808ee40e471dc.zip |
s3:lib: use includes.h with cbuf and srprs
hopefully fixes build on hpux
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r-- | source3/lib/cbuf.h | 5 | ||||
-rw-r--r-- | source3/lib/srprs.c | 5 | ||||
-rw-r--r-- | source3/lib/srprs.h | 3 |
3 files changed, 1 insertions, 12 deletions
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 <stddef.h> -#include <stdbool.h> -#include <stdint.h> - - 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 <ctype.h> -#include <string.h> -#include <assert.h> -#include <stdio.h> 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 <stddef.h> -#include <stdbool.h> -#include <stdint.h> struct cbuf; /** |