summaryrefslogtreecommitdiffstats
path: root/aac-enc.c
diff options
context:
space:
mode:
Diffstat (limited to 'aac-enc.c')
-rw-r--r--aac-enc.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/aac-enc.c b/aac-enc.c
index 1528881..9365cc9 100644
--- a/aac-enc.c
+++ b/aac-enc.c
@@ -18,7 +18,13 @@
#include <stdio.h>
#include <stdint.h>
+
+#if defined(_MSC_VER)
+#include <getopt.h>
+#else
#include <unistd.h>
+#endif
+
#include <stdlib.h>
#include "libAACenc/include/aacenc_lib.h"
#include "wavreader.h"