diff src/s/sol2.h @ 22:8fc7fe29b841 r19-15b94

Import from CVS: tag r19-15b94
author cvs
date Mon, 13 Aug 2007 08:50:29 +0200
parents 376386a54a3c
children 4103f0995bd7
line wrap: on
line diff
--- a/src/s/sol2.h	Mon Aug 13 08:50:06 2007 +0200
+++ b/src/s/sol2.h	Mon Aug 13 08:50:29 2007 +0200
@@ -43,7 +43,7 @@
 /* The standard Solaris library nsl has this function in it which is
    supposed to only be in the BSD compat stuff.  Yuck.  Of course,
    there isn't a prototype for it other than in /usr/ucbinclude. */
-int gethostname (char *, int);
+int gethostname (char *, size_t);
 
 /* XEmacs: Solaris include files miss this. */
 struct timeval;