catcodec-1.0.3-gcc47.patch 603 B

12345678910111213141516171819202122232425
  1. diff -ruN src/io.cpp.orig src/io.cpp
  2. --- src/io.cpp.orig 2012-05-19 20:48:05.930777509 +0200
  3. +++ src/io.cpp 2012-05-19 20:49:04.303822711 +0200
  4. @@ -20,6 +20,8 @@
  5. /** @file io.cpp Implementation of reading/writing to files */
  6. +#include <unistd.h>
  7. +
  8. #include "stdafx.h"
  9. #include "io.hpp"
  10. diff -ruN src/catcodec.cpp.orig src/catcodec.cpp
  11. --- src/catcodec.cpp.orig 2012-05-19 20:47:55.847255343 +0200
  12. +++ src/catcodec.cpp 2012-05-19 20:48:38.937144091 +0200
  13. @@ -22,6 +22,7 @@
  14. #include <stdlib.h>
  15. #include <string.h>
  16. +#include <unistd.h>
  17. #include "stdafx.h"
  18. #include "io.hpp"