pkgsrc/archivers/gsharutils/patches/patch-src_unshar-opts.c

17 lines
480 B
C

$NetBSD: patch-src_unshar-opts.c,v 1.1 2015/06/08 23:13:52 joerg Exp $
--- src/unshar-opts.c.orig 2015-06-08 20:11:05.000000000 +0000
+++ src/unshar-opts.c
@@ -37,6 +37,12 @@
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
+#if ENABLE_NLS
+#ifdef HAVE_DCGETTEXT
+# include <gettext.h>
+#endif
+#endif
#ifndef __doxygen__
#define OPTION_CODE_COMPILE 1