The JUCE cross-platform C++ framework, with DISTRHO/KXStudio specific changes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
3.5KB

  1. /*
  2. ==============================================================================
  3. This file is part of the JUCE library - "Jules' Utility Class Extensions"
  4. Copyright 2004-9 by Raw Material Software Ltd.
  5. ------------------------------------------------------------------------------
  6. JUCE can be redistributed and/or modified under the terms of the GNU General
  7. Public License (Version 2), as published by the Free Software Foundation.
  8. A copy of the license is included in the JUCE distribution, or can be found
  9. online at www.gnu.org/licenses.
  10. JUCE is distributed in the hope that it will be useful, but WITHOUT ANY
  11. WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  12. A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  13. ------------------------------------------------------------------------------
  14. To release a closed-source product which uses JUCE, commercial licenses are
  15. available: visit www.rawmaterialsoftware.com/juce for more information.
  16. ==============================================================================
  17. */
  18. #ifndef __JUCE_LINUX_NATIVEINCLUDES_JUCEHEADER__
  19. #define __JUCE_LINUX_NATIVEINCLUDES_JUCEHEADER__
  20. /*
  21. This file wraps together all the linux-specific headers, so
  22. that we can include them all just once, and compile all our
  23. platform-specific stuff in one big lump, keeping it out of the
  24. way of the rest of the codebase.
  25. */
  26. #include "../../../src/juce_core/basics/juce_StandardHeader.h"
  27. #include <sched.h>
  28. #include <pthread.h>
  29. #include <sys/time.h>
  30. #include <errno.h>
  31. #include <sys/stat.h>
  32. #include <sys/dir.h>
  33. #include <sys/ptrace.h>
  34. #include <sys/vfs.h>
  35. #include <sys/wait.h>
  36. #include <fnmatch.h>
  37. #include <utime.h>
  38. #include <pwd.h>
  39. #include <fcntl.h>
  40. #include <dlfcn.h>
  41. #include <netdb.h>
  42. #include <arpa/inet.h>
  43. #include <netinet/in.h>
  44. #include <sys/types.h>
  45. #include <sys/ioctl.h>
  46. #include <sys/socket.h>
  47. #include <linux/if.h>
  48. #include <sys/sysinfo.h>
  49. #include <sys/file.h>
  50. #include <signal.h>
  51. /* Got a build error here? You'll need to install the freetype library...
  52. The name of the package to install is "libfreetype6-dev".
  53. */
  54. #include <ft2build.h>
  55. #include FT_FREETYPE_H
  56. #include <X11/Xlib.h>
  57. #include <X11/Xatom.h>
  58. #include <X11/Xresource.h>
  59. #include <X11/Xutil.h>
  60. #include <X11/Xmd.h>
  61. #include <X11/keysym.h>
  62. #include <X11/cursorfont.h>
  63. #if JUCE_USE_XINERAMA
  64. /* If you're trying to use Xinerama, you'll need to install the "libxinerama-dev" package.. */
  65. #include <X11/extensions/Xinerama.h>
  66. #endif
  67. #if JUCE_USE_XSHM
  68. #include <X11/extensions/XShm.h>
  69. #include <sys/shm.h>
  70. #include <sys/ipc.h>
  71. #endif
  72. #if JUCE_OPENGL
  73. /* Got an include error here?
  74. If you want to install OpenGL support, the packages to get are "mesa-common-dev"
  75. and "freeglut3-dev".
  76. Alternatively, you can turn off the JUCE_OPENGL flag in juce_Config.h if you
  77. want to disable it.
  78. */
  79. #include <GL/glx.h>
  80. #endif
  81. #undef KeyPress
  82. #if JUCE_ALSA
  83. /* Got an include error here? If so, you've either not got ALSA installed, or you've
  84. not got your paths set up correctly to find its header files.
  85. The package you need to install to get ASLA support is "libasound2-dev".
  86. If you don't have the ALSA library and don't want to build Juce with audio support,
  87. just disable the JUCE_ALSA flag in juce_Config.h
  88. */
  89. #include <alsa/asoundlib.h>
  90. #endif
  91. #undef SIZEOF
  92. #endif // __JUCE_LINUX_NATIVEINCLUDES_JUCEHEADER__