summaryrefslogtreecommitdiff
path: root/lib/libalpm/group.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/group.h')
-rw-r--r--lib/libalpm/group.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libalpm/group.h b/lib/libalpm/group.h
index a2328e0f..64b7f99e 100644
--- a/lib/libalpm/group.h
+++ b/lib/libalpm/group.h
@@ -23,9 +23,11 @@
#include "list.h"
+#define GRP_NAME_LEN 256
+
/* Groups structure */
typedef struct __pmgrp_t {
- char name[256];
+ char name[GRP_NAME_LEN];
PMList *packages; /* List of strings */
} pmgrp_t;