Crossfire Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crossfire 0.90.2




I can add a few more bugs I found when compiling.  Nothing major. (great job guys!)  NeXT people need  
these changes to input.c.  (others can probably skip)

include/sproto.h: Add

#ifdef SEARCH_ITEMS
extern int command_search ( object *op, char *params );
#endif

server/intput.c:  Add after <sys/types.h>.

#ifdef NeXT
#include <sys/dir.h>
#endif

Change (for struct direct)

#if defined(_AIX) || defined(M_UNIX)

to

#if defined(_AIX) || defined(M_UNIX) && !defined(NeXT)

Add (somewhere before using S_ISREG)

#ifndef S_ISREG
#define S_ISREG(x) (((x) & S_IFMT) == S_IFREG)
#endif