ref: 6d69370e9c779d617836628ca157cfb6dd452917
parent: 8c2fb79c392d754a9bf322b9fa878593b4a1c05f
parent: eb4f790a827c7758182a3750eb717332b30d475f
author: Anthony J. Bentley <[email protected]>
date: Fri Nov 9 17:07:44 EST 2012
Merge pull request #6 from vegard/getopt-linux-for-bentley Include getopt.h (fix compilation on GNU/Linux)
--- a/src/asm/main.c
+++ b/src/asm/main.c
@@ -6,6 +6,7 @@
*/
#include <math.h>
+#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
--- a/src/fix/main.c
+++ b/src/fix/main.c
@@ -14,6 +14,7 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <getopt.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
--- a/src/link/main.c
+++ b/src/link/main.c
@@ -1,3 +1,4 @@
+#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>