summaryrefslogtreecommitdiff
path: root/utils/ldd.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-10 18:27:03 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-10 18:27:03 +0000
commit460caef23ff4da3ee374fad644510f57c0624fa5 (patch)
tree21abe4c144ac262fb2899dfc463a1cb7ea622584 /utils/ldd.c
parentacb5ff2ef347b7bf9b5e62a2425ca8006b433c09 (diff)
Solve warning about redefined _GNU_SOURCE, allow iconv to build
Diffstat (limited to 'utils/ldd.c')
-rw-r--r--utils/ldd.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/ldd.c b/utils/ldd.c
index 9196893cb..dbd2f6de8 100644
--- a/utils/ldd.c
+++ b/utils/ldd.c
@@ -26,7 +26,9 @@
*
*/
-#define _GNU_SOURCE
+#ifndef _GNU_SOURCE
+# define _GNU_SOURCE
+#endif
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>