#ifndef FIX_UNISTD_H
#define FIX_UNISTD_H

#include <unistd.h>


/*
  For some reason the g++ include files on Ultrix 4.3 fail to provide
  these prototypes, even though the Ultrix 4.2 versions did...
  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP
*/
#if defined(ULTRIX43) || defined(OSF1)

#if defined(__cplusplus)
extern "C" {
#endif

#if defined(__STDC__) || defined(__cplusplus)
	int symlink( const char *, const char * );
	void *sbrk( ssize_t );
	int gethostname( char *, int );
#else
	int symlink();
	char *sbrk();
	int gethostname();
#endif

#if defined(__cplusplus)
}
#endif

#endif	/* ULTRIX43 */

#endif

#ifndef FIX_UNISTD_H
#define FIX_UNISTD_H

#include <unistd.h>


/*
  For some reason the g++ include files on Ultrix 4.3 fail to provide
  these prototypes, even though the Ultrix 4.2 versions did...
  Once again, OSF1 also chokes, unless _AES_SOURCE(?) is defined JCP
*/
#if defined(ULTRIX43) || defined(OSF1)

#if defined(__cplusplus)
extern "C" {
#endif

#if defined(__STDC__) || defined(__cplusplus)
	int symlink( const char *, const char * );
	char *sbrk( int );
	int gethostname( char *, int );
#else
	int symlink();
	char *sbrk();
	int gethostname();
#endif

#if defined(__cplusplus)
}
#endif

#endif	/* ULTRIX43 */

#endif

--- 
+++ 
@@ -17,7 +17,7 @@
 
 #if defined(__STDC__) || defined(__cplusplus)
 	int symlink( const char *, const char * );
-	char *sbrk( int );
+	void *sbrk( ssize_t );
 	int gethostname( char *, int );
 #else
 	int symlink();
Change sbrk() prototype to sensible version with void * and ssize_t.
