aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2002-02-17 14:55:35 +0000
committerDaniel Stenberg <daniel@haxx.se>2002-02-17 14:55:35 +0000
commite452f467d46d06cb6eee7d314ee5d78efd4e8e9c (patch)
treeb5e32d7c36a6d0a1796f95bfd2e5ac1ffba5f9d7
parentdfda7ba456f72576142d1dd3065d7c1a9a9858f3 (diff)
Philip Gladstone's 64-bit issues corrected.
Reminder for the future: when we're using malloc() we MUST include <stdlib.h> as otherwise 64bit archs go bananas. Bug report #517687
-rw-r--r--lib/hash.c4
-rw-r--r--lib/llist.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/hash.c b/lib/hash.c
index b6f9d76c0..315cd731f 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2001, Daniel Stenberg, <daniel@haxx.se>, et al
+ * Copyright (C) 2002, Daniel Stenberg, <daniel@haxx.se>, et al
*
* In order to be useful for every potential user, curl and libcurl are
* dual-licensed under the MPL and the MIT/X-derivate licenses.
@@ -24,7 +24,7 @@
#include "setup.h"
#include <string.h>
-
+#include <stdlib.h>
#include "hash.h"
#include "llist.h"
diff --git a/lib/llist.c b/lib/llist.c
index 9103ff254..0d969aeed 100644
--- a/lib/llist.c
+++ b/lib/llist.c
@@ -5,7 +5,7 @@
* | (__| |_| | _ <| |___
* \___|\___/|_| \_\_____|
*
- * Copyright (C) 2001, Daniel Stenberg, <daniel@haxx.se>, et al
+ * Copyright (C) 2002, Daniel Stenberg, <daniel@haxx.se>, et al
*
* In order to be useful for every potential user, curl and libcurl are
* dual-licensed under the MPL and the MIT/X-derivate licenses.
@@ -23,8 +23,8 @@
#include "setup.h"
-
#include <string.h>
+#include <stdlib.h>
#include "llist.h"