OpenBSD fixes for dtcm. There are no global "timezone" and "tzname" symbols on BSD. Apart from that, mainly #ifdefs.

This commit is contained in:
Pascal Stumpf
2012-08-10 14:44:57 +02:00
committed by Jon Trulson
parent 3718075b7c
commit 57463ec10e
10 changed files with 34 additions and 1 deletions

View File

@@ -54,7 +54,9 @@ static char sccsid[] = "@(#)graphics.c 1.23 94/11/29 Copyr 1994 Sun Microsystem
#include <EUSCompat.h>
#include <stdio.h>
#include <sys/stat.h>
#if !defined(CSRG_BASED)
#include <sys/sysmacros.h>
#endif
#include <sys/param.h> /* MAXPATHLEN defined here */
#ifdef SVR4
#include <sys/utsname.h> /* SYS_NMLN */