summaryrefslogtreecommitdiff
path: root/audio/id3v2/files/patch-id3v2_cpp
blob: 0108f2e4a0e77047626a1160ecfeec667bf870c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- id3v2.cpp.orig	Mon Nov 11 18:47:38 2002
+++ id3v2.cpp	Mon Nov 11 18:53:32 2002
@@ -2,20 +2,21 @@
 #include <config.h>
 #endif
                                                                                 
-#include <stdio.h>
-#include <iostream.h>
-#include <string.h>
+#include <cstdio>
+#include <iostream>
+#include <cstring>
 #include <id3/tag.h>
 #include <getopt.h>
-#include <stdlib.h>
+#include <cstdlib>
 #include <id3/misc_support.h>
 
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <unistd.h>
 
 #define VERSION_NUMBER "$Revision: 1.7 $"
 #define MAXNOFRAMES 1000
+
+using namespace std;
 
 /* Write both tags by default */
 flags_t UpdFlags = ID3TT_ALL;