diff options
-rw-r--r-- | debug.c | 4 | ||||
-rw-r--r-- | libskype.c | 1 | ||||
-rw-r--r-- | skype_events.c | 4 | ||||
-rw-r--r-- | skype_messaging.c | 4 | ||||
-rw-r--r-- | skype_messaging_carbon.c | 4 | ||||
-rw-r--r-- | skype_messaging_dbus.c | 4 | ||||
-rw-r--r-- | skype_messaging_network.c | 4 | ||||
-rw-r--r-- | skype_messaging_win32.c | 4 | ||||
-rw-r--r-- | skype_messaging_x11.c | 4 |
9 files changed, 33 insertions, 0 deletions
@@ -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> @@ -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> |