cURL / Mailing Lists / curl-library / Single Mail

curl-library

[PATCH] lib: Fix AIX build failure

From: Tor Arntsen <tor_at_spacetec.no>
Date: Wed, 19 May 2010 16:40:42 +0200

--
0825cd80a introduced two new files which need "setup.h"
to build correctly on AIX 5.1 and 6.1.
 lib/fileinfo.c      |    2 ++
 lib/ftplistparser.c |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/lib/fileinfo.c b/lib/fileinfo.c
index 2a184f7..c1c1127 100644
--- a/lib/fileinfo.c
+++ b/lib/fileinfo.c
@@ -20,6 +20,8 @@
  *
  ***************************************************************************/
+#include "setup.h"
+
 #include <stdlib.h>
 #include "strdup.h"
 #include "fileinfo.h"
diff --git a/lib/ftplistparser.c b/lib/ftplistparser.c
index ff7045b..4e10c43 100644
--- a/lib/ftplistparser.c
+++ b/lib/ftplistparser.c
@@ -35,6 +35,8 @@
  * 01-29-97 11:32PM <DIR> prog
  */
+#include "setup.h"
+
 #include <time.h>
 #include "ftplistparser.h"
-- 
1.7.1


-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html

Received on 2010-05-19