File: include-getopt.h.diff

package info (click to toggle)
integrit 3.02.00-11
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,480 kB
  • ctags: 559
  • sloc: ansic: 4,204; makefile: 385; sh: 306; perl: 224
file content (18 lines) | stat: -rw-r--r-- 525 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
* include <getopt.h> since extern int optopt is used; fixes build failure
  with dietlibc.

Index: options.c
===================================================================
RCS file: /var/lib/cvs/integrit/options.c,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 options.c
--- options.c	24 May 2003 11:55:22 -0000	1.1.1.1
+++ options.c	24 May 2003 12:22:09 -0000
@@ -32,6 +32,7 @@
 #else
 #error No stdint.h or inttypes.h found.
 #endif
+#include	<getopt.h>
 #include	"cdb.h"
 #include	"cdb_make.h"
 #include	"hashtbl.h"