$NetBSD: patch-aa,v 1.5 2009/07/25 14:58:34 schmonz Exp $

--- src/mp3splt.c.orig	2009-05-15 19:14:22.000000000 -0400
+++ src/mp3splt.c
@@ -36,7 +36,14 @@
 
 #include <libmp3splt/mp3splt.h>
 
-#include "getopt.h"
+#if defined(HAVE_NBCOMPAT_H)
+#include <nbcompat/config.h>
+#include <nbcomat/cdefs.h>
+#include <nbcompat/getopt.h>
+#else
+#include <getopt.h>
+#endif
+
 
 //constants
 //we include the "config.h" file from the config options
