archive_list: don't include archive_api.h
Use struct forward declarations.
This commit is contained in:
parent
f1ecd9eac8
commit
6b728e4756
@ -20,8 +20,6 @@
|
|||||||
#ifndef MPD_ARCHIVE_LIST_H
|
#ifndef MPD_ARCHIVE_LIST_H
|
||||||
#define MPD_ARCHIVE_LIST_H
|
#define MPD_ARCHIVE_LIST_H
|
||||||
|
|
||||||
#include "archive_api.h"
|
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
struct archive_plugin;
|
struct archive_plugin;
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
|
|
||||||
#ifdef ENABLE_ARCHIVE
|
#ifdef ENABLE_ARCHIVE
|
||||||
#include "archive_list.h"
|
#include "archive_list.h"
|
||||||
|
#include "archive_api.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user