X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fcommon.h;h=e38f5b1b7ab6c20eca2e60ce809ec38842ea3c5a;hb=121bcb38f29409f10de63a68d86620c4beb75c97;hp=ce9c83d0bd474deb6e5a336060d0a1727722bc36;hpb=3c838204cd78bcf106fdd65476180659ab629fcb;p=emu8051.git diff --git a/src/common/common.h b/src/common/common.h index ce9c83d..e38f5b1 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -10,6 +10,10 @@ #ifndef COMMON_H #define COMMON_H 1 +#if HAVE_CONFIG_H +# include "config.h" +#endif + #include #include #include @@ -38,10 +42,6 @@ /* Returns TRUE if the first 'c' characters of strings 'a' and 'b' are equal. */ #define STREQ_LEN(a, b, c) (strncasecmp((a), (b), (c)) == 0) - -inline void -ErrorLocation(const char *file, int line); - void * xmalloc(size_t size, const char *filename, int line_number);