summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES5
-rw-r--r--build/build.c1
-rw-r--r--build/pack.c2
-rw-r--r--ftp.c1
-rw-r--r--lib/install.c1
-rw-r--r--lib/signature.c4
-rw-r--r--lib/tread.c1
-rw-r--r--lib/uninstall.c1
-rw-r--r--lib/verify.c1
-rwxr-xr-xrpm.c2
10 files changed, 18 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 205ed4420..9b0bdebe4 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,3 +1,8 @@
+2.3.4 -> 2.4.1:
+ - take advantage of lchown() if it's available
+ - fixed configure script to assume chown() doesn't follow symlinks
+ if lchown() isn't available and configure is not being run as root
+
2.3.11 -> 2.4:
- changed RPMNLSDIR directories to and @datadir@ to better
conform with autoconf
diff --git a/build/build.c b/build/build.c
index f606d8893..ede34768b 100644
--- a/build/build.c
+++ b/build/build.c
@@ -7,6 +7,7 @@
#include <stdio.h>
#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/wait.h>
#include <unistd.h>
#include <fcntl.h>
diff --git a/build/pack.c b/build/pack.c
index d43d17c6c..180a37c5d 100644
--- a/build/pack.c
+++ b/build/pack.c
@@ -5,6 +5,7 @@
#include <stdio.h>
#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <signal.h>
@@ -15,6 +16,7 @@
#include <sys/time.h> /* For 'select()' interfaces */
#include "pack.h"
+#include "miscfn.h"
#include "header.h"
#include "spec.h"
#include "specP.h"
diff --git a/ftp.c b/ftp.c
index 931dfaf2f..6f2efae37 100644
--- a/ftp.c
+++ b/ftp.c
@@ -1,5 +1,6 @@
#if HAVE_CONFIG_H
# include "config.h"
+# include "miscfn.h"
#else
#define HAVE_MACHINE_TYPES_H 1
#define HAVE_ALLOCA_H 1
diff --git a/lib/install.c b/lib/install.c
index f46385a32..a5f8dbd67 100644
--- a/lib/install.c
+++ b/lib/install.c
@@ -11,6 +11,7 @@
#include <signal.h>
#include <sys/resource.h>
#include <sys/stat.h> /* needed for mkdir(2) prototype! */
+#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <time.h>
diff --git a/lib/signature.c b/lib/signature.c
index 84d21660c..08058b2d0 100644
--- a/lib/signature.c
+++ b/lib/signature.c
@@ -16,8 +16,10 @@
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
-#include <sys/wait.h>
+#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/time.h>
+#include <sys/wait.h>
#include <fcntl.h>
#include <string.h>
diff --git a/lib/tread.c b/lib/tread.c
index 2dfaf45c1..f17b8ca9c 100644
--- a/lib/tread.c
+++ b/lib/tread.c
@@ -3,6 +3,7 @@
#include <sys/types.h>
#include <unistd.h>
+#include "miscfn.h"
#include "tread.h"
int timedRead(int fd, void * bufptr, int length) {
diff --git a/lib/uninstall.c b/lib/uninstall.c
index f6ff2a0a4..e8b193a3a 100644
--- a/lib/uninstall.c
+++ b/lib/uninstall.c
@@ -10,6 +10,7 @@
#include <string.h>
#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/lib/verify.c b/lib/verify.c
index f9ed9235d..2c9fd2e00 100644
--- a/lib/verify.c
+++ b/lib/verify.c
@@ -10,6 +10,7 @@
#include <string.h>
#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/rpm.c b/rpm.c
index 49bd65cca..5f7059e86 100755
--- a/rpm.c
+++ b/rpm.c
@@ -12,7 +12,9 @@
#include <string.h>
#include <sys/wait.h>
#include <unistd.h>
+#include <sys/resource.h>
#include <sys/stat.h>
+#include <sys/time.h>
#include <sys/types.h>
#include "build/build.h"