LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libsmi-0.4.8-gnu-source.patch of Package libsmi (Project openSUSE:Factory)

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>