# HG changeset patch # User Mark Doliner # Date 1247648340 0 # Node ID 828d21a1ec43957b949d14d70e9054a4f20e133d # Parent 9908d5f5fde04d4758079ca9ece9d980b8c3a793 Ah, this is what g++ doesn't like. ../libpurple/privacy.h:32: error: use of enum ¡Æ_PurplePrivacyType¡Ç without previous declaration ../libpurple/privacy.h:32: error: invalid type in declaration before ¡Æ;¡Ç token Let's just go back to what we had before (but with the #include account.h below the num definition) diff -r 9908d5f5fde0 -r 828d21a1ec43 libpurple/privacy.h --- a/libpurple/privacy.h Wed Jul 15 07:22:50 2009 +0000 +++ b/libpurple/privacy.h Wed Jul 15 08:59:00 2009 +0000 @@ -29,16 +29,14 @@ /** * Privacy data types. */ -typedef enum _PurplePrivacyType PurplePrivacyType; - -enum _PurplePrivacyType +typedef enum _PurplePrivacyType { PURPLE_PRIVACY_ALLOW_ALL = 1, PURPLE_PRIVACY_DENY_ALL, PURPLE_PRIVACY_ALLOW_USERS, PURPLE_PRIVACY_DENY_USERS, PURPLE_PRIVACY_ALLOW_BUDDYLIST -}; +} PurplePrivacyType; #include "account.h"