aboutsummaryrefslogtreecommitdiffstats
path: root/grpmi
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2002-08-21 09:13:19 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2002-08-21 09:13:19 +0000
commitb2b8049421a0dbe044f89e50e6db9331bf10dca9 (patch)
tree342f8fbb9c6225abe7485270685c077c4ee84337 /grpmi
parenta59325af59a054ae88f4385c823fbbfdca42dd14 (diff)
downloadrpmdrake-b2b8049421a0dbe044f89e50e6db9331bf10dca9.tar
rpmdrake-b2b8049421a0dbe044f89e50e6db9331bf10dca9.tar.gz
rpmdrake-b2b8049421a0dbe044f89e50e6db9331bf10dca9.tar.bz2
rpmdrake-b2b8049421a0dbe044f89e50e6db9331bf10dca9.tar.xz
rpmdrake-b2b8049421a0dbe044f89e50e6db9331bf10dca9.zip
_GNU_SOURCE is now defined by perl makefile..
Diffstat (limited to 'grpmi')
-rw-r--r--grpmi/curl_download/curl_download.xs3
-rw-r--r--grpmi/rpm/grpmi_rpm.xs3
2 files changed, 6 insertions, 0 deletions
diff --git a/grpmi/curl_download/curl_download.xs b/grpmi/curl_download/curl_download.xs
index 9fd8b766..ab200d6f 100644
--- a/grpmi/curl_download/curl_download.xs
+++ b/grpmi/curl_download/curl_download.xs
@@ -17,7 +17,10 @@
*
******************************************************************************/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
+
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
diff --git a/grpmi/rpm/grpmi_rpm.xs b/grpmi/rpm/grpmi_rpm.xs
index f67fe1f7..c2c7a923 100644
--- a/grpmi/rpm/grpmi_rpm.xs
+++ b/grpmi/rpm/grpmi_rpm.xs
@@ -17,7 +17,10 @@
*
******************************************************************************/
+#ifndef _GNU_SOURCE
#define _GNU_SOURCE
+#endif
+
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>