File shorten.patch of Package shorten (Revision 4)
Currently displaying revision 4 , Show latest
29
1
---
2
src/fixio.c | 9 +++++----
3
1 file changed, 5 insertions(+), 4 deletions(-)
4
5
--- a/src/fixio.c
6
+++ b/src/fixio.c
7
8
* $Id: fixio.c,v 1.4 2002/01/28 01:16:52 jason Exp $
9
*/
10
11
+#ifdef HAVE_CONFIG_H
12
+#include "config.h"
13
+#endif
14
+#define _XOPEN_SOURCE
15
#include <stdio.h>
16
#include <stdlib.h>
17
#include <string.h>
18
+#include <unistd.h>
19
#include "shorten.h"
20
#include "bitshift.h"
21
22
-#ifdef HAVE_CONFIG_H
23
-#include "config.h"
24
-#endif
25
-
26
extern int WriteWaveFile;
27
28
#define CAPMAXSCHAR(x) ((x > 127) ? 127 : x)
29