mp3splt-gtk
external_includes.h
1 /**********************************************************
2  *
3  * mp3splt-gtk -- utility based on mp3splt,
4  * for mp3/ogg splitting without decoding
5  *
6  * Copyright: (C) 2005-2013 Alexandru Munteanu
7  * Contact: m@ioalex.net
8  *
9  * http://mp3splt.sourceforge.net/
10  *
11  *********************************************************/
12 
13 /**********************************************************
14  *
15  * This program is free software; you can redistribute it and/or
16  * modify it under the terms of the GNU General Public License
17  * as published by the Free Software Foundation; either version 2
18  * of the License, or (at your option) any later version.
19  *
20  * This program is distributed in the hope that it will be useful,
21  * but WITHOUT ANY WARRANTY; without even the implied warranty of
22  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23  * GNU General Public License for more details.
24  *
25  * You should have received a copy of the GNU General Public License
26  * along with this program; if not, write to the Free Software
27  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
28  * USA.
29  *
30  *********************************************************/
31 
32 #ifndef EXTERNAL_INCLUDES_H
33 
34 #define EXTERNAL_INCLUDES_H
35 
36 #ifdef HAVE_CONFIG_H
37 #include "config.h"
38 #else
39 #define VERSION "0.9"
40 #define PACKAGE_NAME "mp3splt-gtk"
41 #endif
42 
43 #include <signal.h>
44 #include <string.h>
45 #include <stdlib.h>
46 #include <math.h>
47 #include <errno.h>
48 #include <stdio.h>
49 #include <time.h>
50 #include <unistd.h>
51 #include <locale.h>
52 #include <ctype.h>
53 
54 #include <sys/stat.h>
55 #include <sys/types.h>
56 
57 #ifdef __WIN32__
58 
59 #include <windows.h>
60 
61 #include <winsock2.h>
62 #include <ws2tcpip.h>
63 
64 #include <shlwapi.h>
65 #define usleep(x) Sleep(x/1000)
66 
67 #else
68 
69 #include <netdb.h>
70 #include <sys/socket.h>
71 #include <sys/types.h>
72 #include <netinet/in.h>
73 
74 #endif
75 
76 #include <gtk/gtk.h>
77 
78 #include <glib.h>
79 #include <glib/gi18n.h>
80 #include <glib/gstdio.h>
81 #include <glib/gprintf.h>
82 
83 #include <gdk/gdkkeysyms.h>
84 
85 #include <libmp3splt/mp3splt.h>
86 
87 #endif
88