$NetBSD: patch-aa,v 1.4 2008/10/05 22:56:41 schmonz Exp $

--- src/mp3splt.c.orig	2006-12-21 16:35:40.000000000 -0500
+++ src/mp3splt.c
@@ -31,7 +31,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
