summaryrefslogtreecommitdiff
path: root/lib/libalpm/alpm_list.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-02-15 20:57:30 -0600
committerDan McGee <dan@archlinux.org>2008-02-16 11:58:49 -0600
commit92ab7c33fb4d72eba070636f620f595dc4650ee9 (patch)
treeb2f70b7ee2b240868a8701e9a48fa3d778559378 /lib/libalpm/alpm_list.h
parent6b07b5d34512ef361ebf04395f07965cb80d0ec3 (diff)
downloadpacman-92ab7c33fb4d72eba070636f620f595dc4650ee9.tar.xz
Move pmgraph_t struct and functions to their own header file
This will allow us to utilize this helpful type and functions in places besides dependency calculations. In addition, remove the public declaration of pmgraph_t in alpm.h- there is zero need to expose this internal type. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/alpm_list.h')
-rw-r--r--lib/libalpm/alpm_list.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libalpm/alpm_list.h b/lib/libalpm/alpm_list.h
index ae373910..057b6b5c 100644
--- a/lib/libalpm/alpm_list.h
+++ b/lib/libalpm/alpm_list.h
@@ -19,6 +19,8 @@
#ifndef _ALPM_LIST_H
#define _ALPM_LIST_H
+#include <stdlib.h> /* size_t */
+
#ifdef __cplusplus
extern "C" {
#endif