nixpkgs/pkgs/games/generator/soundcard.patch

21 lines
511 B
Diff
Raw Normal View History

diff -rc generator-orig/main/gensoundp-unix.c generator-0.35-cbiere/main/gensoundp-unix.c
*** generator-orig/main/gensoundp-unix.c 2004-09-26 19:07:44.000000000 +0200
--- generator-0.35-cbiere/main/gensoundp-unix.c 2004-09-26 19:07:56.000000000 +0200
***************
*** 196,202 ****
#include <soundcard.h>
#else
! #ifdef HAVE_SOUNDCARD_H
#include <sys/soundcard.h>
#endif
--- 196,202 ----
#include <soundcard.h>
#else
! #ifdef HAVE_SYS_SOUNDCARD_H
#include <sys/soundcard.h>
#endif