*** empty log message ***
diff --git a/Makefile b/Makefile
index c203f7f..ee2ea17 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@
 	$(LD) -shared -soname libebtc.so -o libebtc.so -lc $(OBJECTS2)
 
 ebtables: $(OBJECTS) ebtables-standalone.o libebtc
-	$(CC) $(CFLAGS) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
+	$(CC) $(CFLAGS) $(CFLAGS_SH_LIB) -o $@ ebtables-standalone.o -I$(KERNEL_INCLUDES) -L. -Lextensions -lebtc $(EXT_LIBSI) \
 	-Wl,-rpath,$(LIBDIR)
 
 ebtablesu: ebtablesu.c
diff --git a/extensions/ebt_among.c b/extensions/ebt_among.c
index 6f7c324..edd678e 100644
--- a/extensions/ebt_among.c
+++ b/extensions/ebt_among.c
@@ -11,6 +11,7 @@
 #include <stdlib.h>
 #include <getopt.h>
 #include <ctype.h>
+#include <unistd.h>
 #include <netinet/ether.h>
 #include "../include/ebtables_u.h"
 #include "../include/ethernetdb.h"