openbsd-ports/archivers/unarj/patches/patch-ac
1997-11-25 20:22:50 +00:00

31 lines
530 B
Plaintext

*** environ.c.orig Tue Nov 25 15:13:34 1997
--- environ.c Tue Nov 25 15:19:24 1997
***************
*** 431,442 ****
#include <time.h>
#ifndef time_t
#define time_t long
#endif
extern struct tm *localtime();
- extern time_t time();
extern char *strcpy();
extern voidp *malloc();
--- 431,443 ----
#include <time.h>
+ #if !(defined(__OpenBSD__))
#ifndef time_t
#define time_t long
#endif
+ #endif
extern struct tm *localtime();
extern char *strcpy();
extern voidp *malloc();