aboutsummaryrefslogtreecommitdiff
path: root/lib/llist.c
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 /lib/llist.c
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
Diffstat (limited to 'lib/llist.c')
-rw-r--r--lib/llist.c4
1 files changed, 2 insertions, 2 deletions
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"