dvdauthor-fix-build.patch 577 B

1234567891011121314151617181920212223242526
  1. Description: Fix for #807657 -- missing include "config.h"
  2. Author: Tobias Frost <tobi@frost.de>
  3. Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807657
  4. Last-Update: 2016-01-07
  5. ---
  6. This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
  7. --- a/src/compat.h
  8. +++ b/src/compat.h
  9. @@ -1,6 +1,8 @@
  10. // basic headers
  11. #define _GNU_SOURCE /* really just for strndup */
  12. +#include "config.h"
  13. +
  14. #ifdef HAVE_STDBOOL_H
  15. # include <stdbool.h>
  16. #else
  17. @@ -17,6 +19,7 @@
  18. # define __bool_true_false_are_defined 1
  19. #endif
  20. +
  21. #include <stdio.h>
  22. #ifdef HAVE_STDLIB_H