Diff of /src/cd-paranoia/cd-paranoia.c [e74fc3] .. [16bdbf] Maximize Restore

  Switch to side-by-side view

--- a/src/cd-paranoia/cd-paranoia.c
+++ b/src/cd-paranoia/cd-paranoia.c
@@ -76,7 +76,14 @@
 #include <fcntl.h>
 #endif
 
+/* FreeBSD 4 has getopt in unistd.h. So we include that before
+   getopt.h */
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+#ifdef HAVE_GETOPT_H
 #include <getopt.h>
+#endif
 
 #ifdef HAVE_ERRNO_H
 #include <errno.h>