libsmi/libsmi-0.4.8-gnu-source.patch

12 lines
338 B
Diff
Raw Permalink Normal View History

diff -uNr libsmi-0.4.8-orig/lib/smi.c libsmi-0.4.8/lib/smi.c
--- libsmi-0.4.8-orig/lib/smi.c 2008-04-18 12:42:50.000000000 +0200
+++ libsmi-0.4.8/lib/smi.c 2010-03-23 10:51:12.373123639 +0100
@@ -11,6 +11,7 @@
* @(#) $Id: smi.c 8071 2008-04-17 11:14:46Z schoenw $
*/
+#define _GNU_SOURCE
#include <config.h>
#include <stdlib.h>