[Lsb-messages] /var/www/bzr/lsb/4.0/misc-test r2090: pkgchk.c and archk.c should include <unistd.h>

Mats Wichmann mats at linuxfoundation.org
Sat Feb 2 19:05:47 UTC 2013


------------------------------------------------------------
revno: 2090
committer: Mats Wichmann <mats at linuxfoundation.org>
branch nick: misc-test
timestamp: Sat 2013-02-02 12:05:47 -0700
message:
  pkgchk.c and archk.c should include <unistd.h>
modified:
  archk/archk.c
  package/Makefile
  pkgchk/pkgchk.c
-------------- next part --------------
=== modified file 'archk/archk.c'
--- a/archk/archk.c	2008-12-02 21:27:32 +0000
+++ b/archk/archk.c	2013-02-02 19:05:47 +0000
@@ -2,6 +2,7 @@
 #include <getopt.h>
 #include <string.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <libgen.h>
 #include <limits.h>
 #include "../tetj/tetj.h"

=== modified file 'package/Makefile'
--- a/package/Makefile	2012-08-15 12:38:28 +0000
+++ b/package/Makefile	2013-02-02 19:05:47 +0000
@@ -13,7 +13,7 @@
 
 # We define this here instead of directly in the spec file as
 # we need to be able to work out what the produced rpm files will be called
-RPM_PACKAGE_RELEASE=2
+RPM_PACKAGE_RELEASE=3
 
 # Derive date string for daily snapshots
 ISO_DATE:=$(shell date +"%Y%m%d")

=== modified file 'pkgchk/pkgchk.c'
--- a/pkgchk/pkgchk.c	2011-03-25 20:51:08 +0000
+++ b/pkgchk/pkgchk.c	2013-02-02 19:05:47 +0000
@@ -8,6 +8,7 @@
 #include <getopt.h>
 #include <string.h>
 #include <stdlib.h>
+#include <unistd.h>
 #include <libgen.h>
 #include <limits.h>
 #include "../tetj/tetj.h"



More information about the lsb-messages mailing list