patch-sidplay_cpp 549 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-sidplay_cpp,v 1.1 2017/04/22 01:42:27 jsg Exp $
  2. --- sidplay.cpp.orig Thu Apr 20 16:54:28 2017
  3. +++ sidplay.cpp Thu Apr 20 16:58:52 2017
  4. @@ -18,8 +18,9 @@
  5. //
  6. #include <ctype.h>
  7. -#include <iomanip.h>
  8. -#include <fstream.h>
  9. +#include <iomanip>
  10. +#include <fstream>
  11. +#include <iostream>
  12. #include <signal.h>
  13. #include <stdlib.h>
  14. #include <string.h>
  15. @@ -29,6 +30,8 @@
  16. #include <sidplay/fformat.h>
  17. #include <sidplay/myendian.h>
  18. #include "audiodrv.h"
  19. +
  20. +using namespace std;
  21. #if defined(__amigaos__)
  22. #define EXIT_ERROR_STATUS (20)