]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed memrchr compiler warning
authorMartin Willi <martin@strongswan.org>
Mon, 19 Nov 2007 12:27:08 +0000 (12:27 -0000)
committerMartin Willi <martin@strongswan.org>
Mon, 19 Nov 2007 12:27:08 +0000 (12:27 -0000)
src/libstrongswan/utils/lexparser.c

index 52a0e16176c69899138147bccc1608c9c42f9772..35ba0d7a6cc9a9163adcaf0fa272e85056f49272 100644 (file)
@@ -21,6 +21,8 @@
  * RCSID $Id$
  */
 
+/* memrchr is a GNU extension */
+#define _GNU_SOURCE
 #include <string.h>
 
 #include "lexparser.h"