aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2009-07-25 07:03:17 +0200
committerMichael Kerrisk <mtk.manpages@gmail.com>2009-07-25 07:03:17 +0200
commit9935c43c520bdd6926a7b875fb08efa79bb0366c (patch)
treed068798eaffc0987e35f602f83e98636debff7da
parent8339b8bc243cb1dde04f7c88e552da51a1219703 (diff)
downloadman-pages-9935c43c520bdd6926a7b875fb08efa79bb0366c.tar.gz
complex.7: Add missing header file for example program
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man7/complex.73
1 files changed, 2 insertions, 1 deletions
diff --git a/man7/complex.7 b/man7/complex.7
index 91da2758aa..07da487096 100644
--- a/man7/complex.7
+++ b/man7/complex.7
@@ -1,7 +1,7 @@
.\" Copyright 2002 Walter Harms (walter.harms@informatik.uni-oldenburg.de)
.\" Distributed under GPL
.\"
-.TH COMPLEX 7 2002-07-28 "" "Linux Programmer's Manual"
+.TH COMPLEX 7 2009-07-25 "" "Linux Programmer's Manual"
.SH NAME
complex \- basics of complex mathematics
.SH SYNOPSIS
@@ -38,6 +38,7 @@ The imaginary unit is represented by I.
.nf
/* check that exp(i * pi) == \-1 */
#include <math.h> /* for atan */
+#include <stdio.h>
#include <complex.h>
int