diff options
Diffstat (limited to 'lib/libalpm/sync.h')
-rw-r--r-- | lib/libalpm/sync.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libalpm/sync.h b/lib/libalpm/sync.h index d23dc6d8..f3d5ec02 100644 --- a/lib/libalpm/sync.h +++ b/lib/libalpm/sync.h @@ -23,15 +23,14 @@ #ifndef _ALPM_SYNC_H #define _ALPM_SYNC_H -#include "db.h" -#include "package.h" -#include "trans.h" +#include "alpm.h" -typedef struct __pmsyncpkg_t { +/* Sync package */ +struct __pmsyncpkg_t { unsigned char type; pmpkg_t *pkg; void *data; -} pmsyncpkg_t; +}; #define FREESYNC(p) do { if(p) { _alpm_sync_free(p); p = NULL; } } while(0) |