From a29fc4a78bbe5e9d4cc0775566f853181d47db65 Mon Sep 17 00:00:00 2001 From: nico Date: Fri, 14 Oct 2011 10:07:50 +0000 Subject: [PATCH] [packages] darkstat: fix build failure conv.c: In function 'strtonum': conv.c:487: error: 'LLONG_MIN' undeclared (first use in this function) git-svn-id: svn://svn.openwrt.org/openwrt/packages@28449 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- net/darkstat/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net/darkstat/Makefile b/net/darkstat/Makefile index 62ab82e27..99eb13708 100644 --- a/net/darkstat/Makefile +++ b/net/darkstat/Makefile @@ -41,6 +41,8 @@ CONFIGURE_ARGS += \ --disable-debug \ --with-chroot-dir=/var/empty +TARGET_CFLAGS += -std=gnu99 + define Build/Compile $(HOSTCC) $(PKG_BUILD_DIR)/static/c-ify.c \ -o $(PKG_BUILD_DIR)/c-ify