gcal: include sys/types.h instead of stdint.h in gnulib patch
This makes compilation work on 32bit arches, as well as 64bit arches.
This commit is contained in:
parent
48393d0190
commit
bf51d022ef
@ -4,7 +4,7 @@
|
|||||||
You should have received a copy of the GNU General Public License
|
You should have received a copy of the GNU General Public License
|
||||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||||
|
|
||||||
+#include <stdint.h>
|
+#include <sys/types.h>
|
||||||
+#include <bits/struct_file.h>
|
+#include <bits/struct_file.h>
|
||||||
+
|
+
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
@ -16,7 +16,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <errno.h> /* For detecting Plan9. */
|
#include <errno.h> /* For detecting Plan9. */
|
||||||
+#include <stdint.h>
|
+#include <sys/types.h>
|
||||||
+#include <bits/struct_file.h>
|
+#include <bits/struct_file.h>
|
||||||
|
|
||||||
#if defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
#if defined __sferror || defined __DragonFly__ || defined __ANDROID__
|
||||||
|
Loading…
x
Reference in New Issue
Block a user