solved build dependency puzzle in regex.c:
* removed superfluous #include <config.h> which was protected by an #ifdef that evaluated to false - so the file never got included, but jam tried to locate it and usually failed, unless there happens to be a config.h in the current working directory. This fixes a spurious dependency from regex.c to the config.h in src/libs/iconv.h if you invoked jam from there. * fixed two warnings by always including stdlib.h git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28639 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
429f245650
commit
b898cc3709
@ -27,10 +27,6 @@
|
||||
#undef _GNU_SOURCE
|
||||
#define _GNU_SOURCE
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#ifndef PARAMS
|
||||
# if defined __GNUC__ || (defined __STDC__ && __STDC__)
|
||||
# define PARAMS(args) args
|
||||
@ -143,12 +139,7 @@
|
||||
even if config.h says that we can. */
|
||||
# undef REL_ALLOC
|
||||
|
||||
# if defined STDC_HEADERS || defined _LIBC
|
||||
# include <stdlib.h>
|
||||
# else
|
||||
char *malloc ();
|
||||
char *realloc ();
|
||||
# endif
|
||||
#include <stdlib.h>
|
||||
|
||||
/* When used in Emacs's lib-src, we need to get bzero and bcopy somehow.
|
||||
If nothing else has been done, use the method below. */
|
||||
|
Loading…
Reference in New Issue
Block a user