patch-string_cpp 373 B

1234567891011121314151617
  1. $OpenBSD: patch-string_cpp,v 1.1 2017/05/04 15:46:56 espie Exp $
  2. Index: string.cpp
  3. --- string.cpp.orig
  4. +++ string.cpp
  5. @@ -29,8 +29,9 @@
  6. #include <ctype.h>
  7. #include <stdlib.h>
  8. #include <string.h>
  9. -#include <new.h>
  10. +#include <new>
  11. #include <mimepp/string.h>
  12. +using std::cerr;
  13. #define DW_MIN(a,b) ((a) <= (b) ? (a) : (b))
  14. #define DW_MAX(a,b) ((a) >= (b) ? (a) : (b))