Revision
73999
Author
jmr@macports.org
Date
2010-12-01 14:50:58 -0800 (Wed, 01 Dec 2010)

Log Message

add setmode header to include when the OS doesn't provide it

Modified Paths

Added Paths

Diff

Modified: trunk/base/src/pextlib1.0/Pextlib.c (73998 => 73999)


--- trunk/base/src/pextlib1.0/Pextlib.c	2010-12-01 22:29:26 UTC (rev 73998)
+++ trunk/base/src/pextlib1.0/Pextlib.c	2010-12-01 22:50:58 UTC (rev 73999)
@@ -86,6 +86,10 @@
 extern char **environ;
 #endif
 
+#if !HAVE_SETMODE
+#include "setmode.h"
+#endif
+
 #if !HAVE_FGETLN
 char *fgetln(FILE *stream, size_t *len);
 #endif

Added: trunk/base/src/pextlib1.0/setmode.h (0 => 73999)


--- trunk/base/src/pextlib1.0/setmode.h	                        (rev 0)
+++ trunk/base/src/pextlib1.0/setmode.h	2010-12-01 22:50:58 UTC (rev 73999)
@@ -0,0 +1,6 @@
+/*
+ * $Id$
+ */
+
+mode_t getmode(const void *bbox, mode_t omode);
+void * setmode(const char *p);
Property changes on: trunk/base/src/pextlib1.0/setmode.h
___________________________________________________________________

Added: svn:keywords

Added: svn:eol-style