bug-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Darwin/OSX patches to fix compile


From: Cove Schneider
Subject: Darwin/OSX patches to fix compile
Date: Mon, 22 Mar 2004 15:41:56 -0800

I had to add a couple of includes to get cfengine-2.1.3 to compile under Panther.

uname -a:
Darwin wrks-10-4-3-220 7.3.0 Darwin Kernel Version 7.3.0: Fri Mar 5 14:22:55 PST 2004; root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc

--- image.c     Mon Mar 22 15:27:13 2004
+++ image.c.orig        Mon Mar 22 15:29:51 2004
@@ -1529,7 +1529,6 @@
 #endif

 #ifdef DARWIN
-#include <sys/paths.h>
 /* For later copy from new to dest */
 char *rsrcbuf;
 int rsrcbytesr; /* read */

--- filenames.c Mon Mar 22 15:30:37 2004
+++ filenames.c.orig    Mon Mar 22 15:30:23 2004
@@ -331,7 +331,6 @@
   char Path_File_Separator;

 #ifdef DARWIN
-#include <sys/paths.h>
 /* Keeps track of if dealing w. resource fork */
 int rsrcfork;
 rsrcfork = 0;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]