Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EionRobb/skype4pidgin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debug.c4
-rw-r--r--libskype.c1
-rw-r--r--skype_events.c4
-rw-r--r--skype_messaging.c4
-rw-r--r--skype_messaging_carbon.c4
-rw-r--r--skype_messaging_dbus.c4
-rw-r--r--skype_messaging_network.c4
-rw-r--r--skype_messaging_win32.c4
-rw-r--r--skype_messaging_x11.c4
9 files changed, 33 insertions, 0 deletions
diff --git a/debug.c b/debug.c
index b850b10..c906ab1 100644
--- a/debug.c
+++ b/debug.c
@@ -19,6 +19,10 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
#include <glib.h>
#include <debug.h>
diff --git a/libskype.c b/libskype.c
index c07a494..b612748 100644
--- a/libskype.c
+++ b/libskype.c
@@ -148,6 +148,7 @@ static GHashTable *sms_convo_link_table = NULL;
static guint protocol_version = 7;
+#define INCLUDED_LIBSKYPE_C
#include "debug.c"
#include "skype_messaging.c"
diff --git a/skype_events.c b/skype_events.c
index 0b4887e..4099d83 100644
--- a/skype_events.c
+++ b/skype_events.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#include <ft.h>
void skype_auth_allow(gpointer sender);
diff --git a/skype_messaging.c b/skype_messaging.c
index c343bc7..c6cd5bf 100644
--- a/skype_messaging.c
+++ b/skype_messaging.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#include <glib.h>
#include "skype_events.c"
diff --git a/skype_messaging_carbon.c b/skype_messaging_carbon.c
index 1b16a2a..47863c9 100644
--- a/skype_messaging_carbon.c
+++ b/skype_messaging_carbon.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#include <Carbon/Carbon.h>
//#include <Skype/Skype.h>
#include <glib.h>
diff --git a/skype_messaging_dbus.c b/skype_messaging_dbus.c
index 9118d64..8d0909c 100644
--- a/skype_messaging_dbus.c
+++ b/skype_messaging_dbus.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#define DBUS_API_SUBJECT_TO_CHANGE
#include <dbus/dbus-glib-lowlevel.h>
diff --git a/skype_messaging_network.c b/skype_messaging_network.c
index b518e3e..1706719 100644
--- a/skype_messaging_network.c
+++ b/skype_messaging_network.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#include <glib.h>
#include <errno.h>
#include <string.h>
diff --git a/skype_messaging_win32.c b/skype_messaging_win32.c
index 1e873d8..5230287 100644
--- a/skype_messaging_win32.c
+++ b/skype_messaging_win32.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#include <windows.h>
#include <tlhelp32.h>
#include <glib.h>
diff --git a/skype_messaging_x11.c b/skype_messaging_x11.c
index 31cad23..a10e90a 100644
--- a/skype_messaging_x11.c
+++ b/skype_messaging_x11.c
@@ -20,6 +20,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef INCLUDED_LIBSKYPE_C
+# error Don't compile this file directly. Just compile libskype.c instead.
+#endif
+
#include <X11/Xlib.h>
#include <X11/Xatom.h>