Tooltalk fixes for OpenBSD. This consists mainly of #ifdefs, casts and some small type nits.
This commit is contained in:
committed by
Jon Trulson
parent
3d5a492038
commit
3b77d7c065
@@ -37,7 +37,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <sys/param.h>
|
||||
#include <sys/stat.h>
|
||||
#if defined(__osf__) || defined(linux)
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if !defined(USL) && !defined(__uxp__)
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
*/
|
||||
|
||||
#include <errno.h>
|
||||
#if defined(__osf__) || defined(linux)
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#ifndef USL
|
||||
@@ -230,7 +230,7 @@ pathlist_lstt_dearchive(
|
||||
(char *)our_process_name, (int)obj_kind );
|
||||
return FALSE;
|
||||
}
|
||||
if (verbosity && ( (last_path != this_path)
|
||||
if (verbosity && ( (last_path != (const char *)this_path)
|
||||
|| (obj_kind == ARCHIVE_END)))
|
||||
{
|
||||
if (last_path_valid) {
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#if defined(__osf__) || defined(linux)
|
||||
#if defined(__osf__) || defined(linux) || defined(CSRG_BASED)
|
||||
#include <unistd.h>
|
||||
#else
|
||||
#if defined (USL) || defined(__uxp__)
|
||||
|
||||
Reference in New Issue
Block a user