1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/deskutils/xrolo/files/patch-ae
Steve Price 97b24974af Initial import of xrolo version 2.6.
This is an Xview port of Ron Hitchens rolo tool.

PR:		9409
Submitted by:	Lars Koeller <lkoeller@cc.fh-lippe.de>
1999-01-18 04:16:22 +00:00

73 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*** 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;