summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-12-07 12:04:40 -0800
committerJeremy Allison <jra@samba.org>2007-12-07 12:04:40 -0800
commit8404873851a68a1725cb22db81630ebf7248c778 (patch)
tree392638d3ac705eebedcfb460bc14ba08ef38d076
parent9e8180b9835fc100c25ef230747f7b44ef03d685 (diff)
downloadsamba-8404873851a68a1725cb22db81630ebf7248c778.tar.gz
samba-8404873851a68a1725cb22db81630ebf7248c778.tar.bz2
samba-8404873851a68a1725cb22db81630ebf7248c778.zip
Don't double define fstring.
Jeremy. (This used to be commit 822b2ead9b0ee28d7ae147fc1ef67da099699cf8)
-rw-r--r--source3/nsswitch/winbind_nss_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbind_nss_config.h b/source3/nsswitch/winbind_nss_config.h
index 70d1c5764f..39c4343fb2 100644
--- a/source3/nsswitch/winbind_nss_config.h
+++ b/source3/nsswitch/winbind_nss_config.h
@@ -43,8 +43,10 @@
/* I'm trying really hard not to include anything from smb.h with the
result of some silly looking redeclaration of structures. */
+#ifndef FSTRING_LEN
#define FSTRING_LEN 256
typedef char fstring[FSTRING_LEN];
+#endif
/* Some systems (SCO) treat UNIX domain sockets as FIFOs */