summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/c_mpdview.c7
-rw-r--r--src/c_mpdview.h8
2 files changed, 14 insertions, 1 deletions
diff --git a/src/c_mpdview.c b/src/c_mpdview.c
index 8c6a6a1..b163e42 100644
--- a/src/c_mpdview.c
+++ b/src/c_mpdview.c
@@ -39,12 +39,17 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* mpdview: src/c_mpdview.c
- * Mon, 27 Jun 2022 21:20:37 +0200
+ * Mon, 27 Jun 2022 21:48:06 +0200
* Joe
*
* This is the entrypoint of the program.
*/
+#include <stdio.h>
+#include <unistd.h>
+
+#include <mpd/client.h>
+
int
main
(int argc,
diff --git a/src/c_mpdview.h b/src/c_mpdview.h
index fc904a4..ad9338f 100644
--- a/src/c_mpdview.h
+++ b/src/c_mpdview.h
@@ -48,4 +48,12 @@
#define PROGNAME "mpdview"
+typedef char bool_t;
+typedef void* ptr_t;
+
+enum bool_e {
+ FALSE,
+ TRUE
+};
+
#endif /* __C_MPDVIEW_H__ */