File: 03-include-unistd-forF_OK.patch

package info (click to toggle)
anfo 0.98-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,256 kB
  • sloc: sh: 10,041; cpp: 8,548; ansic: 530; lisp: 337; makefile: 64
file content (15 lines) | stat: -rw-r--r-- 555 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Author: Gert Wollny <gw.fossdev@gmail.com
Last-Update: Wed, 08 Jan 2014 11:55:33 +0100
Description: Include unistd.h to make F_OK available

diff -ur -x Makefile.in anfo-0.98/src/conffile.h anfo-0.98.debian/src/conffile.h
--- anfo-0.98/src/conffile.h	2010-09-24 14:15:00.000000000 +0200
+++ anfo-0.98.debian/src/conffile.h	2014-01-08 11:35:28.621379698 +0100
@@ -22,6 +22,7 @@
 #include <google/protobuf/text_format.h>
 #include <fstream>
 #include <string>
+#include <unistd.h>
 
 /*! \page configuration Configuration Files, Metadata, Output Format
  *