diff options
Diffstat (limited to 'include/parted/disk.in.h')
-rw-r--r-- | include/parted/disk.in.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/parted/disk.in.h b/include/parted/disk.in.h index 6f42145..7ca6453 100644 --- a/include/parted/disk.in.h +++ b/include/parted/disk.in.h @@ -27,6 +27,12 @@ #ifndef PED_DISK_H_INCLUDED #define PED_DISK_H_INCLUDED +/* Include these to work around gnulib redefining free, read, etc. which causes problems + * with pt-common.h + */ +#include <stdlib.h> +#include <unistd.h> + /** * Disk flags */ |