summaryrefslogtreecommitdiff
path: root/source4/lib/replace/replace.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-01-16 09:00:04 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-01-16 09:00:04 +1100
commitc92a1d0752abf42a76e16e7c19229841ac35dc81 (patch)
treef5702890d17180c6b33285c14b05bc53b0ca629c /source4/lib/replace/replace.h
parent955b110818c00170f7b93d2975de467551c8bc06 (diff)
parentb1fcae724156c2b25f41264943cf4cec8fe68821 (diff)
downloadsamba-c92a1d0752abf42a76e16e7c19229841ac35dc81.tar.gz
samba-c92a1d0752abf42a76e16e7c19229841ac35dc81.tar.bz2
samba-c92a1d0752abf42a76e16e7c19229841ac35dc81.zip
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
(This used to be commit d8a805a2544c8864136f77e9086b2a01ae79a1d5)
Diffstat (limited to 'source4/lib/replace/replace.h')
-rw-r--r--source4/lib/replace/replace.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/lib/replace/replace.h b/source4/lib/replace/replace.h
index f8a89a7213..3f91544e97 100644
--- a/source4/lib/replace/replace.h
+++ b/source4/lib/replace/replace.h
@@ -546,4 +546,12 @@ typedef int bool;
#define QSORT_CAST (int (*)(const void *, const void *))
#endif
+#ifndef PATH_MAX
+#define PATH_MAX 1024
+#endif
+
+#ifndef MAX_DNS_NAME_LENGTH
+#define MAX_DNS_NAME_LENGTH 256 /* Actually 255 but +1 for terminating null. */
+#endif
+
#endif /* _LIBREPLACE_REPLACE_H */