patch-src_llua_c 560 B

12345678910111213141516171819202122
  1. $OpenBSD: patch-src_llua_c,v 1.1 2011/04/27 12:55:10 dcoppa Exp $
  2. --- src/llua.c.orig Wed Apr 27 14:37:28 2011
  3. +++ src/llua.c Wed Apr 27 14:39:18 2011
  4. @@ -28,6 +28,8 @@
  5. #include <ctype.h>
  6. +#include <sys/param.h>
  7. +
  8. #ifdef LUA_EXTRAS
  9. #include <tolua++.h>
  10. #endif /* LUA_EXTRAS */
  11. @@ -39,8 +41,6 @@ void llua_append_notify(const char *name);
  12. void llua_rm_notifies(void);
  13. static int llua_block_notify = 0;
  14. #endif /* HAVE_SYS_INOTIFY_H */
  15. -
  16. -#define MIN(a, b) ( (a) < (b) ? (a) : (b) )
  17. static char *draw_pre_hook = 0;
  18. static char *draw_post_hook = 0;