Skip to content

Commit

Permalink
Partial fix for GRAPHICS_DISABLED build, issue #679
Browse files Browse the repository at this point in the history
Include automatically generated configuration file if running autoconf
  • Loading branch information
voyageur committed Jan 26, 2017
1 parent f566a45 commit 8aeb73e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lstm/lstmrecognizer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
// limitations under the License.
///////////////////////////////////////////////////////////////////////

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "lstmrecognizer.h"

#include "allheaders.h"
Expand Down
5 changes: 5 additions & 0 deletions lstm/lstmtrainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
// limitations under the License.
///////////////////////////////////////////////////////////////////////

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "lstmtrainer.h"
#include <string>

Expand Down
5 changes: 5 additions & 0 deletions lstm/network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
// limitations under the License.
///////////////////////////////////////////////////////////////////////

// Include automatically generated configuration file if running autoconf.
#ifdef HAVE_CONFIG_H
#include "config_auto.h"
#endif

#include "network.h"

#include <stdlib.h>
Expand Down

0 comments on commit 8aeb73e

Please sign in to comment.