mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-06 22:51:41 +00:00
73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
|
*** cards.c.orig Tue Dec 3 23:33:56 1991
|
|||
|
--- cards.c Sat Jan 9 22:52:45 1999
|
|||
|
***************
|
|||
|
*** 36,47 ****
|
|||
|
*/
|
|||
|
|
|||
|
|
|||
|
|
|||
|
#include <stdio.h>
|
|||
|
#include <xview/xview.h>
|
|||
|
#include <sys/file.h>
|
|||
|
#include <ctype.h>
|
|||
|
! #if !defined(sgi)
|
|||
|
#include <alloca.h>
|
|||
|
#endif
|
|||
|
#include <pwd.h>
|
|||
|
--- 36,56 ----
|
|||
|
*/
|
|||
|
|
|||
|
|
|||
|
+ #ifdef HAVE_SYS_PARAM_H
|
|||
|
+ #include <sys/param.h>
|
|||
|
+ #endif
|
|||
|
+
|
|||
|
+ #if (defined(BSD) && (BSD >= 199306))
|
|||
|
+ #include <stdlib.h>
|
|||
|
+ #include <strings.h>
|
|||
|
+ #include <errno.h>
|
|||
|
+ #endif
|
|||
|
|
|||
|
#include <stdio.h>
|
|||
|
#include <xview/xview.h>
|
|||
|
#include <sys/file.h>
|
|||
|
#include <ctype.h>
|
|||
|
! #if !defined(sgi) && !(defined(BSD) && (BSD >= 199306))
|
|||
|
#include <alloca.h>
|
|||
|
#endif
|
|||
|
#include <pwd.h>
|
|||
|
***************
|
|||
|
*** 71,85 ****
|
|||
|
|
|||
|
extern void show_card (), set_slider_max ();
|
|||
|
|
|||
|
extern char *malloc(), *realloc (), *calloc (), *getenv();
|
|||
|
#if !defined(sgi)
|
|||
|
extern char *strcpy(), *strcat(), *strncpy (), *index ();
|
|||
|
#endif
|
|||
|
extern char *sys_errlist [];
|
|||
|
|
|||
|
extern int errno;
|
|||
|
|
|||
|
-
|
|||
|
/* --------------------------- Locals -------------------------------------- */
|
|||
|
|
|||
|
static struct card *dead;
|
|||
|
--- 80,95 ----
|
|||
|
|
|||
|
extern void show_card (), set_slider_max ();
|
|||
|
|
|||
|
+ #if !(defined (BSD) && (BSD >= 199306))
|
|||
|
extern char *malloc(), *realloc (), *calloc (), *getenv();
|
|||
|
#if !defined(sgi)
|
|||
|
extern char *strcpy(), *strcat(), *strncpy (), *index ();
|
|||
|
#endif
|
|||
|
extern char *sys_errlist [];
|
|||
|
+ #endif
|
|||
|
|
|||
|
extern int errno;
|
|||
|
|
|||
|
/* --------------------------- Locals -------------------------------------- */
|
|||
|
|
|||
|
static struct card *dead;
|