[xiph-commits] r19005 - trunk/ao/doc

giles at svn.xiph.org giles at svn.xiph.org
Fri Oct 4 00:13:14 PDT 2013


Author: giles
Date: 2013-10-04 00:13:14 -0700 (Fri, 04 Oct 2013)
New Revision: 19005

Modified:
   trunk/ao/doc/ao_example.c
Log:
Include string.h for memset.

Also move the link arguments to the end for platforms which require that.

Thanks to Craig Turner for the bug report.


Modified: trunk/ao/doc/ao_example.c
===================================================================
--- trunk/ao/doc/ao_example.c	2013-10-01 16:38:41 UTC (rev 19004)
+++ trunk/ao/doc/ao_example.c	2013-10-04 07:13:14 UTC (rev 19005)
@@ -18,11 +18,12 @@
  *
  * Compilation command line (for Linux systems):
  *
- *     gcc -lao -ldl -lm -o ao_example ao_example.c
+ *     gcc -o ao_example ao_example.c -lao -ldl -lm
  *
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <ao/ao.h>
 #include <math.h>
 



More information about the commits mailing list