gsm-1.0-pl10-includes.patch 813 B

123456789101112131415161718192021222324252627
  1. --- gsm-1.0-pl10/src/code.c.includes 1996-07-02 16:32:36.000000000 +0200
  2. +++ gsm-1.0-pl10/src/code.c 2004-04-14 14:25:50.000000000 +0200
  3. @@ -7,6 +7,7 @@
  4. /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/code.c,v 1.3 1996/07/02 09:59:05 jutta Exp $ */
  5. #include "config.h"
  6. +#include <string.h>
  7. #ifdef HAS_STDLIB_H
  8. --- gsm-1.0-pl10/src/toast.c.includes 1996-07-02 16:32:55.000000000 +0200
  9. +++ gsm-1.0-pl10/src/toast.c 2004-04-14 14:31:22.000000000 +0200
  10. @@ -6,7 +6,13 @@
  11. /* $Header: /tmp_amd/presto/export/kbs/jutta/src/gsm/RCS/toast.c,v 1.8 1996/07/02 10:41:04 jutta Exp $ */
  12. +#define _BSD_SOURCE
  13. +#define _GNU_SOURCE
  14. #include "toast.h"
  15. +#include <stdio.h>
  16. +#include <unistd.h>
  17. +#include <sys/types.h>
  18. +#include <sys/stat.h>
  19. /* toast -- lossy sound compression using the gsm library.
  20. */