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-2012 Alexandru Munteanu
7  * Contact: io_fx@yahoo.fr
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
28  * USA.
29  *
30  *********************************************************/
31 
32 #ifndef EXTERNAL_INCLUDES_H
33 
34 #define EXTERNAL_INCLUDES_H
35 
36 #include <signal.h>
37 #include <string.h>
38 #include <stdlib.h>
39 #include <math.h>
40 #include <errno.h>
41 #include <stdio.h>
42 #include <time.h>
43 #include <unistd.h>
44 #include <locale.h>
45 #include <ctype.h>
46 
47 #include <sys/stat.h>
48 #include <sys/types.h>
49 
50 #ifdef __WIN32__
51 
52 #include <winsock2.h>
53 #include <windows.h>
54 #include <shlwapi.h>
55 #define usleep(x) Sleep(x/1000)
56 
57 #else
58 
59 #include <netdb.h>
60 #include <sys/socket.h>
61 #include <sys/types.h>
62 #include <netinet/in.h>
63 
64 #endif
65 
66 #include <gtk/gtk.h>
67 
68 #include <glib.h>
69 #include <glib/gi18n.h>
70 #include <glib/gstdio.h>
71 #include <glib/gprintf.h>
72 
73 #include <gdk/gdkkeysyms.h>
74 
75 #include <libmp3splt/mp3splt.h>
76 
77 #endif
78