summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_string.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2011-08-09 13:23:17 +0200
committerPatrick McHardy <kaber@trash.net>2011-08-09 13:23:17 +0200
commit91ca4603f649a9b9fed4f2e31a8c005cdbdacd1e (patch)
treeddab1727374ab926a68c8cc77cf88de6b64c190e /extensions/libxt_string.c
parent47b5855bc396876295c6432e553351123a62534b (diff)
parent4982fe43cf247cda6ddb946a8f1fd58177124735 (diff)
Merge branch 'master' of git://dev.medozas.de/iptables
Diffstat (limited to 'extensions/libxt_string.c')
-rw-r--r--extensions/libxt_string.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/libxt_string.c b/extensions/libxt_string.c
index eef0b081..8cee3359 100644
--- a/extensions/libxt_string.c
+++ b/extensions/libxt_string.c
@@ -20,6 +20,7 @@
* updated to work with slightly modified
* ipt_string_info.
*/
+#define _GNU_SOURCE 1 /* strnlen for older glibcs */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>