I'm trying to take athttpd for a spin, so I haven't been able to test
this yet, but
I had to make the following fix to make it compile w/Tcl enabled.
--
Øyvind Harboe
http://www.zylin.com - eCos ARM & FPGA developer kit
### Eclipse Workspace Patch 1.0
#P ecos
Index: net/athttpd/current/src/jim-aio.c
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/athttpd/current/src/jim-aio.c,v
retrieving revision 1.1
diff -u -r1.1 jim-aio.c
--- net/athttpd/current/src/jim-aio.c 27 Nov 2006 15:41:56 -0000 1.1
+++ net/athttpd/current/src/jim-aio.c 12 Nov 2007 12:49:49 -0000
@@ -23,10 +23,10 @@
#include <string.h>
#include <errno.h>
+#include <pkgconf/athttpd.h>
#ifndef JIM_STATICEXT
#define JIM_EXTENSION
#endif
-#include <pkgconf/athttpd.h>
#include <cyg/athttpd/jim.h>
#define AIO_CMD_LEN 128
Index: net/athttpd/current/ChangeLog
===================================================================
RCS file: /cvs/ecos/ecos-opt/net/net/athttpd/current/ChangeLog,v
retrieving revision 1.7
diff -u -r1.7 ChangeLog
--- net/athttpd/current/ChangeLog 12 Nov 2007 11:32:02 -0000 1.7
+++ net/athttpd/current/ChangeLog 12 Nov 2007 12:49:49 -0000
@@ -1,5 +1,6 @@
2007-11-12 Oyvind Harboe <[EMAIL PROTECTED]>
+ * include/jim.h: include file order fix; now compiles again.
* doc/athttpd.cdl: Fixed typos in doc. Return value from handler is not
used, recommend returning 0 in doc.