PKGBUILDs/aur/par2cmdline/12-Fix-headers-in-par2cmdline.h.patch

23 lines
497 B
Diff
Raw Normal View History

2011-06-09 21:56:14 +00:00
--- a/par2cmdline.h
+++ b/par2cmdline.h
@@ -132,6 +132,10 @@ typedef unsigned int u32;
typedef unsigned long long u64;
#endif
+// FIXME: this is not done right w/ autoconf
+#include <sys/ioctl.h>
+#include <sys/mount.h>
+
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
2011-06-09 21:56:14 +00:00
@@ -179,6 +183,8 @@ typedef unsigned long long u64;
#include <ctype.h>
#include <sys/types.h>
#include <sys/stat.h>
+#include <sys/ioctl.h>
+#include <sys/mount.h>
#include <dirent.h>
#include <assert.h>