summaryrefslogtreecommitdiffstats
path: root/build-aux/xdrgen
diff options
context:
space:
mode:
Diffstat (limited to 'build-aux/xdrgen')
-rwxr-xr-xbuild-aux/xdrgen2
1 files changed, 2 insertions, 0 deletions
diff --git a/build-aux/xdrgen b/build-aux/xdrgen
index a2240a235a2..c2a7a781d58 100755
--- a/build-aux/xdrgen
+++ b/build-aux/xdrgen
@@ -23,11 +23,13 @@ append_licence_header ()
#if defined(__GNUC__)
#if __GNUC__ >= 4
#if !defined(__clang__)
+#if !defined(__NetBSD__)
#pragma GCC diagnostic ignored "-Wunused-but-set-variable"
#pragma GCC diagnostic ignored "-Wunused-variable"
#endif
#endif
#endif
+#endif
EOF