Browse Source

Changes needed for tvOS compilation

Jaywalker 7 years ago
parent
commit
59714c9a85
4 changed files with 4 additions and 4 deletions
  1. 1 1
      configure.ac
  2. 1 1
      dpkg-deb/extract.c
  3. 1 1
      dpkg-split/info.c
  4. 1 1
      lib/dpkg/ar.h

+ 1 - 1
configure.ac

@@ -129,7 +129,7 @@ AC_TYPE_MODE_T
 AC_TYPE_PID_T
 AC_TYPE_SIZE_T
 DPKG_TYPES_U_INT_T
-DPKG_TYPE_PTRDIFF_T
+#DPKG_TYPE_PTRDIFF_T
 AC_CHECK_SIZEOF([unsigned int])
 AC_CHECK_SIZEOF([unsigned long])
 DPKG_DECL_SYS_SIGLIST

+ 1 - 1
dpkg-deb/extract.c

@@ -32,7 +32,7 @@
 #include <dirent.h>
 #include <fcntl.h>
 #include <unistd.h>
-#include <ar.h>
+//#include <ar.h>
 #include <stdbool.h>
 #include <stdint.h>
 #include <stdlib.h>

+ 1 - 1
dpkg-split/info.c

@@ -28,7 +28,7 @@
 #include <limits.h>
 #include <string.h>
 #include <unistd.h>
-#include <ar.h>
+//#include <ar.h>
 #include <inttypes.h>
 #include <stdint.h>
 #include <stdlib.h>

+ 1 - 1
lib/dpkg/ar.h

@@ -24,7 +24,7 @@
 #include <sys/types.h>
 
 #include <stdbool.h>
-#include <ar.h>
+#include "ar.h"
 
 #include <dpkg/macros.h>