Quellcode durchsuchen

Fix FreeBSD compile error

rdb vor 8 Jahren
Ursprung
Commit
21a42f62df
1 geänderte Dateien mit 1 neuen und 4 gelöschten Zeilen
  1. 1 4
      panda/src/display/graphicsPipe.cxx

+ 1 - 4
panda/src/display/graphicsPipe.cxx

@@ -23,11 +23,8 @@
 #include <unistd.h>
 #endif
 
-#ifdef IS_OSX
+#if defined(IS_OSX) || defined(IS_FREEBSD)
 #include <sys/sysctl.h>
-#endif
-
-#ifdef IS_FREEBSD
 #include <unistd.h>
 #endif