Mail Archives: djgpp-workers/2001/01/20/04:27:17
Tried to build current CVS version (as usually using cross-compiler under
Linux). I'm getting failure due to missing prototypes for memalign()
and valloc(). Adding prototypes to stdlib.h fixes build.
--- include/stdlib.h~1 Wed Dec 6 07:00:36 2000
+++ include/stdlib.h Sat Jan 20 11:25:04 2001
@@ -113,6 +113,8 @@
long long strtoll(const char *_s, char **_endptr, int _base);
unsigned long long strtoull(const char *_s, char **_endptr, int _base);
void swab(const void *from, void *to, int nbytes);
+void *memalign (size_t amt, size_t align);
+void *valloc (size_t amt);
#ifndef alloca
#define alloca __builtin_alloca
Andris
- Raw text -