components/binutils/patches/timer.cc.patch
author Leibo Wang <Leibo.Wang@Sun.COM>
Wed, 11 Dec 2013 18:51:23 -0800
changeset 1594 7302abf31ae0
parent 1123 cb43164c5dd1
child 5057 ab1b43bf588f
permissions -rw-r--r--
17347731 iftop core dumps when using more than one -f option 17363623 iftop should support 64-bit building for Solaris
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1123
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     1
--- binutils-2.23.1/gold/timer.cc	2012-04-06 11:21:55.000000000 -0600
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     2
+++ binutils-2.23.1/gold/timer.cc	2012-12-31 23:34:42.787524531 -0700
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     3
@@ -27,6 +27,7 @@
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     4
 #ifdef HAVE_TIMES
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     5
 #include <sys/times.h>
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     6
 #endif
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     7
+#include <unistd.h>
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     8
 
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
     9
 #include "libiberty.h"
cb43164c5dd1 15824357 SUNBT7205968 Upgrade binutils to 2.22
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff changeset
    10