projects
/
OpenSRF.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
930eb62
)
Merge r1511 from trunk (workaround for newer glibc systems - explicit HOST_NAME_MAX)
author
dbs
<dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 23 Dec 2008 16:21:20 +0000
(16:21 +0000)
committer
dbs
<dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Tue, 23 Dec 2008 16:21:20 +0000
(16:21 +0000)
Thanks for the reminder from Warren Layton!
git-svn-id: svn://svn.open-ils.org/OpenSRF/branches/rel_1_0@1566
9efc2488
-bf62-4759-914b-
345cdb29e865
src/jserver/osrf_chat.c
patch
|
blob
|
history
diff --git
a/src/jserver/osrf_chat.c
b/src/jserver/osrf_chat.c
index
f09d636
..
ed929d8
100644
(file)
--- a/
src/jserver/osrf_chat.c
+++ b/
src/jserver/osrf_chat.c
@@
-18,6
+18,10
@@
GNU General Public License for more details.
#include <stdio.h>
#include <time.h>
+#ifndef HOST_NAME_MAX
+#define HOST_NAME_MAX 256
+#endif
+
static int osrfChatXMLErrorOcurred = 0;
/* This is used by code in osrfChatPushData, but that code is