1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-09 06:51:44 +00:00
freebsd-ports/deskutils/xrolo/files/patch-panel.c

44 lines
863 B
C
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.

*** panel.c.orig Wed Dec 4 01:38:09 1991
--- panel.c Sat Oct 1 20:05:54 2005
***************
*** 35,40 ****
--- 35,48 ----
*/
+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
+ #include <sys/param.h>
+ #endif
+
+ #if (defined(BSD) && (BSD >= 199306))
+ #include <stdlib.h>
+ #endif
+
#include <stdio.h>
#include <strings.h>
#include <xview/xview.h>
***************
*** 46,52 ****
#include <xview/svrimage.h>
#include <sys/param.h>
#include <ctype.h>
! #if !defined (sgi)
#include <alloca.h>
#endif
#include <string.h>
--- 54,60 ----
#include <xview/svrimage.h>
#include <sys/param.h>
#include <ctype.h>
! #if !defined (sgi) && !(defined(BSD) && (BSD >= 199306))
#include <alloca.h>
#endif
#include <string.h>
***************
*** 2462,2465 ****
return(--s1);
return( NULL );
}
-
--- 2470,2472 ----