[cc65] Change to compile under FreeBSD

Date view Thread view Subject view

From: Tim Vanderhoek (hoek_at_FreeBSD.org)
Date: 2000-01-08 20:38:40


For some reason I forgot to include this patch with the earlier patch
I sent this list (well, effectively, "sent Uz" due to the closed list :).
I think the change should work under most any UNIX.  I don't know
about DOS or Windows.  It may be necessary to bracket it in
#ifdef __unix__.

In FreeBSD the sys/utime.h header is dependent on the sys/types.h
header.

Incidentally, I started to actually do some work with cc65 last night.
I plan to use it to help program a 6502-based microcontroller.  I was
quite impressed with the flexibility of the ld65 linker!

[And the doc/ directory was refreshingly complete and well-written
 after the junk I've been wading through for the previous couple days].

Excellent software!


--- ~objfile.c	Sat Jan  8 13:46:12 2000
+++ objfile.c	Sat Jan  8 13:46:15 2000
@@ -34,8 +34,9 @@
 
 
 #include <string.h>
 #include <errno.h>
+#include <sys/types.h>
 #ifdef __WATCOMC__
 /* Watcom has the file in the wrong directory */
 #  include <sys/utime.h>
 #else


-- 
Signature withheld by request of author.
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2001-12-14 22:05:35 CET