summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2007-04-29 14:02:43 +1000
committerDarren Tucker <dtucker@zip.com.au>2007-04-29 14:02:43 +1000
commit2ac529b5055ebccd5c2251e373940eee156dc967 (patch)
tree86eafa1d95637cbd69ccc768d5fdd0d97d443fc1
parentcc40d5ecdfe1bdb8f37cc385669e8b6e0b641fb2 (diff)
- (dtucker) [openbsd-compat/xmmap.c] Include stdlib.h for mkstemp prototype.
-rw-r--r--ChangeLog3
-rw-r--r--openbsd-compat/xmmap.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a2dc4302..b9a7aece 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -5,6 +5,7 @@
- (dtucker) [configure.ac openbsd-compat/getrrsetbyname.c] Bug #1299: Use the
platform's _res if it has one. Should fix problem of DNSSEC record lookups
on NetBSD as reported by Curt Sampson.
+ - (dtucker) [openbsd-compat/xmmap.c] Include stdlib.h for mkstemp prototype.
20070406
- (dtucker) [INSTALL] Update the systems that have PAM as standard. Link
@@ -2886,4 +2887,4 @@
OpenServer 6 and add osr5bigcrypt support so when someone migrates
passwords between UnixWare and OpenServer they will still work. OK dtucker@
-$Id: ChangeLog,v 1.4654 2007/04/29 03:58:06 dtucker Exp $
+$Id: ChangeLog,v 1.4655 2007/04/29 04:02:43 dtucker Exp $
diff --git a/openbsd-compat/xmmap.c b/openbsd-compat/xmmap.c
index 0fb23269..397bc965 100644
--- a/openbsd-compat/xmmap.c
+++ b/openbsd-compat/xmmap.c
@@ -23,7 +23,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-/* $Id: xmmap.c,v 1.12 2006/08/24 09:58:36 dtucker Exp $ */
+/* $Id: xmmap.c,v 1.13 2007/04/29 04:02:43 dtucker Exp $ */
#include "includes.h"
@@ -38,6 +38,7 @@
#endif
#include <errno.h>
#include <stdarg.h>
+#include <stdlib.h>
#include <string.h>
#include <unistd.h>