]> sigrok.org Git - libsigrok.git/blobdiff - tests/lib.c
session: address deprecation of g_memdup(), prepare use of g_memdup2()
[libsigrok.git] / tests / lib.c
index 0da9b7aba1759926ce0ba787623fca32fde2073f..15beca27ae60096e070ff8bb41eb8be4716dc5e6 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
+#include <config.h>
 #include <stdio.h>
 #include <string.h>
 #include <glib.h>
 #include <glib/gstdio.h>
 #include <check.h>
-#include "../include/libsigrok/libsigrok.h"
+#include <libsigrok/libsigrok.h>
 #include "lib.h"
 
 struct sr_context *srtest_ctx;