patch-prnt_hpcups_CommonDefinitions_h 621 B

12345678910111213141516171819202122232425
  1. $OpenBSD: patch-prnt_hpcups_CommonDefinitions_h,v 1.2 2016/09/19 09:17:45 ajacoutot Exp $
  2. Fix build with cups>=2.2.0
  3. Remove prehistorical header which is not even used.
  4. --- prnt/hpcups/CommonDefinitions.h.orig Fri Aug 26 12:03:22 2016
  5. +++ prnt/hpcups/CommonDefinitions.h Sun Sep 18 19:31:21 2016
  6. @@ -40,6 +40,7 @@
  7. #include <fcntl.h>
  8. #include <sys/stat.h>
  9. #include <cups/cups.h>
  10. +#include <cups/ppd.h>
  11. #include <cups/raster.h>
  12. #include <stdarg.h>
  13. #include <stdio.h>
  14. @@ -48,7 +49,6 @@
  15. #include <syslog.h>
  16. #include <assert.h>
  17. #include <time.h>
  18. -#include <sys/timeb.h>
  19. #include <string.h>
  20. #ifndef _GNU_SOURCE