summaryrefslogtreecommitdiffstats
path: root/source/include/pstring.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-02-10 05:09:35 +0000
committerAndrew Tridgell <tridge@samba.org>2005-02-10 05:09:35 +0000
commit1d8e15c9f6852bcfceda97e11241cd998169b0ed (patch)
tree941dd9b7fe1b0b3c71218396e812749192c793da /source/include/pstring.h
parent1c2f03139a43e3d61cb0de5416e5b33676da92ae (diff)
downloadsamba-1d8e15c9f6852bcfceda97e11241cd998169b0ed.tar.gz
samba-1d8e15c9f6852bcfceda97e11241cd998169b0ed.tar.xz
samba-1d8e15c9f6852bcfceda97e11241cd998169b0ed.zip
r5298: - got rid of pstring.h from includes.h. This at least makes it a bit
less likely that anyone will use pstring for new code - got rid of winbind_client.h from includes.h. This one triggered a huge change, as winbind_client.h was including system/filesys.h and defining the old uint32 and uint16 types, as well as its own pstring and fstring.
Diffstat (limited to 'source/include/pstring.h')
-rw-r--r--source/include/pstring.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/pstring.h b/source/include/pstring.h
index 5bd03ec0d8f..36838496865 100644
--- a/source/include/pstring.h
+++ b/source/include/pstring.h
@@ -25,6 +25,8 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#ifndef _PSTRING
+
#define PSTRING_LEN 1024
#define FSTRING_LEN 256
@@ -32,3 +34,4 @@ typedef char pstring[PSTRING_LEN];
typedef char fstring[FSTRING_LEN];
#define _PSTRING
+#endif