source: patches/util-linux-2.12r-missing_header-1.patch@ 7fd5fdb

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 7fd5fdb was 60d11db, checked in by Jim Gifford <clfs@…>, 18 years ago

Added: util-linux-2.12r-missing_header-1.patch

  • Property mode set to 100644
File size: 619 bytes
RevLine 
[60d11db]1Submitted By: Jim Gifford (patches at jg555 dot com)
2Date: 2006-05-30
3Initial Package Version: 2.12r
4Origin: Jim Gifford
5Upstream Status: Sent
6Description: Fixes the missing delcaration of R_OK in swapon.c build
7
8diff -Naur util-linux-2.12r.orig/mount/swapon.c util-linux-2.12r/mount/swapon.c
9--- util-linux-2.12r.orig/mount/swapon.c 2004-12-22 01:50:19.000000000 -0800
10+++ util-linux-2.12r/mount/swapon.c 2006-05-30 00:15:28.979305328 -0700
11@@ -11,6 +11,7 @@
12 #include <mntent.h>
13 #include <errno.h>
14 #include <sys/stat.h>
15+#include <fcntl.h>
16 #include "xmalloc.h"
17 #include "swap_constants.h"
18 #include "swapargs.h"
Note: See TracBrowser for help on using the repository browser.